File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # Dependency Review Action
2+ #
3+ # This Action will scan dependency manifest files that change as part of a Pull Request,
4+ # surfacing known-vulnerable versions of the packages declared or updated in the PR.
5+ # Once installed, if the workflow run is marked as required,
6+ # PRs introducing known-vulnerable packages will be blocked from merging.
7+ #
8+ # Source repository: https://github.com/actions/dependency-review-action
9+ name : ' Dependency Review'
10+ on : [pull_request]
11+
12+ permissions :
13+ contents : read
14+
15+ jobs :
16+ dependency-review :
17+ runs-on : ubuntu-latest
18+ steps :
19+ - name : Harden Runner
20+ uses : step-security/harden-runner@55d479fb1c5bcad5a4f9099a5d9f37c8857b2845 # v2.4.1
21+ with :
22+ egress-policy : audit
23+
24+ - name : ' Checkout Repository'
25+ uses : actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
26+ - name : ' Dependency Review'
27+ uses : actions/dependency-review-action@0efb1d1d84fc9633afcdaad14c485cbbc90ef46c # v2.5.1
Original file line number Diff line number Diff line change 2424 contents : read
2525
2626 steps :
27+ - name : Harden Runner
28+ uses : step-security/harden-runner@55d479fb1c5bcad5a4f9099a5d9f37c8857b2845 # v2.4.1
29+ with :
30+ egress-policy : audit
31+
2732 - name : " Checkout code"
2833 uses : actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # tag=v3.0.0
2934 with :
Original file line number Diff line number Diff line change 1+ repos :
2+ - repo : https://github.com/gitleaks/gitleaks
3+ rev : v8.16.3
4+ hooks :
5+ - id : gitleaks
6+ - repo : https://github.com/pre-commit/mirrors-eslint
7+ rev : v8.38.0
8+ hooks :
9+ - id : eslint
10+ - repo : https://github.com/pre-commit/pre-commit-hooks
11+ rev : v4.4.0
12+ hooks :
13+ - id : end-of-file-fixer
14+ - id : trailing-whitespace
You can’t perform that action at this time.
0 commit comments