File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -12,26 +12,12 @@ permissions:
1212 contents : read
1313
1414jobs :
15- dependency-review :
16- name : Dependency Review
17- # Fix: Removed `github.event.repository.private == false` — that condition
18- # permanently skips this job on private repos.
19- #
20- # Dependency Review requires the Dependency Graph to be enabled in your
21- # repository settings (Settings → Code security → Dependency graph).
22- # It does NOT require GitHub Advanced Security on private repos —
23- # the Dependency Graph feature is available on all GitHub plans.
24- # Enable it at: https://github.com/Som3a99/company-management-system/settings/security_analysis
25- if : github.event_name == 'pull_request'
26- runs-on : ubuntu-latest
27- timeout-minutes : 10
28- steps :
29- - name : Checkout
30- uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
31- - name : Dependency Review
32- uses : actions/dependency-review-action@2031cfc080254a8a887f58cffee85186f0e49e48 # v4.9.0
33- with :
34- fail-on-severity : moderate
15+ # NOTE: actions/dependency-review-action has been intentionally removed.
16+ # It hard-requires GitHub Advanced Security (GHAS) on private repositories —
17+ # the Dependency Graph being enabled is necessary but not sufficient.
18+ # GHAS is only available on GitHub Enterprise plans.
19+ # Equivalent coverage is provided by dotnet-vulnerability-scan below,
20+ # which uses `dotnet list --vulnerable` and needs no special GitHub features.
3521
3622 dotnet-vulnerability-scan :
3723 name : .NET Vulnerability Audit
You can’t perform that action at this time.
0 commit comments