Skip to content

Commit

Permalink
Skip mvn dependency submission action step on refs other than main
Browse files Browse the repository at this point in the history
  • Loading branch information
Pablo Paglilla committed May 7, 2024
1 parent f870c2c commit d55e5ec
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,5 @@ jobs:
- name: Test
run: mvn --batch-mode test -Dmaven.test.skip=false
- name: Update dependency graph
if: github.ref == 'refs/heads/main'
uses: advanced-security/maven-dependency-submission-action@v4

0 comments on commit d55e5ec

Please sign in to comment.