Skip to content

Commit

Permalink
maven-verify.yml: allow switching off advanced-security dependency su…
Browse files Browse the repository at this point in the history
…bmission (#45)

This is because the plugin might break and is not critical for verification builds.
  • Loading branch information
ecki authored Feb 28, 2024
1 parent dafff60 commit cfc07f9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/maven-verify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ jobs:
- name: Update dependency graph
uses: advanced-security/maven-dependency-submission-action@73da25169f2ac4d336320399ba58070deebc1208
# fails with read-only token on PRs, so only run it on main pushes
if: ${{ github.ref == 'refs/heads/main' && github.event_name == 'push' }}
# if DISABLE_MAVEN_DEPENDENCY_SUBMISSION is set to true, skip this step
if: ${{ github.ref == 'refs/heads/main' && github.event_name == 'push' && vars.DISABLE_MAVEN_DEPENDENCY_SUBMISSION != 'true' }}
with:
directory: tests/

0 comments on commit cfc07f9

Please sign in to comment.