diff --git a/.github/workflows/dependency-review.yml b/.github/workflows/dependency-review.yml index d1653faf..bfd0d5ef 100644 --- a/.github/workflows/dependency-review.yml +++ b/.github/workflows/dependency-review.yml @@ -9,9 +9,10 @@ # Public documentation: https://docs.github.com/en/code-security/supply-chain-security/understanding-your-software-supply-chain/about-dependency-review#dependency-review-enforcement name: 'Dependency review' on: - workflow_run: - workflows: [Java CI with Gradle] - types: [completed] + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] # If using a dependency submission action in this workflow this permission will need to be set to: #