diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fdb1358..6526044 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -72,14 +72,14 @@ jobs: - run: python -m unittest discover -s tests -t . -v dependency-review: - name: Dependency review (upstream PRs only) - # Requires the repo's Dependency graph, which forks never inherit and - # which may be disabled upstream - so: upstream PRs only, and the - # graph is probed first. If it is unavailable, the job warns and - # passes instead of hard-failing (the same graceful-skip pattern the - # workflow uses for optional tools). Enabling Dependency graph under - # Settings -> Advanced Security activates the real check. - if: github.event_name == 'pull_request' && github.repository == 'MadsLorentzen/ai-job-search' + name: Dependency review + # Requires the repo's Dependency graph, which not every repo (upstream or + # fork) has enabled - so the graph is probed first, and the job warns and + # passes instead of hard-failing if it's unavailable (the same + # graceful-skip pattern the workflow uses for optional tools), rather than + # being gated to a specific repository. Enabling Dependency graph under + # Settings -> Advanced Security activates the real check on any repo. + if: github.event_name == 'pull_request' runs-on: ubuntu-latest steps: - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4