Skip to content

Commit

Permalink
Avoid submitting a dependency graph for forks
Browse files Browse the repository at this point in the history
Since the "dependency graph" feature needs to be enabled per repository,
running the workflow on forks caused it to fail.
  • Loading branch information
marcphilipp committed Apr 19, 2024
1 parent d67e5c0 commit 1e5de9e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/gradle-dependency-submission.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ permissions:

jobs:
dependency-submission:
if: github.repository == 'junit-team/junit5'
runs-on: ubuntu-latest
steps:
- name: Check out repository
Expand Down

0 comments on commit 1e5de9e

Please sign in to comment.