mirror of
https://github.com/gradle/actions.git
synced 2025-04-19 17:29:20 +08:00
Due to an issue with dependency-review-action (https://github.com/gradle/actions/issues/482), the setup described in the documentation can result in duplicate dependencies being added to the dependency graph. To avoid this, we now recommend using a common `dependency-submission` workflow for both pushes to `main` and pull requests. The `dependency-review` workflow runs on any `pull_request` but will wait for the `dependency-submission` to complete. This setup works for both the standard setup, and for the advanced setup for pull requests from repository forks.