Skip to content

Commit 14ea0be

Browse files
authored
Create dependabot-policy-enforcer.yml
1 parent 7b30f57 commit 14ea0be

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Check Dependabot Alerts
2+
on:
3+
pull_request:
4+
types: [opened, synchronize, reopened]
5+
workflow_dispatch:
6+
7+
permissions:
8+
security-events: read
9+
contents: read
10+
pull-requests: write # Required for PR comments
11+
12+
jobs:
13+
check-alerts:
14+
runs-on: ubuntu-latest
15+
steps:
16+
- uses: nhs-england-tools/[email protected]
17+
with:
18+
github-app-id: ${{ secrets.DEPENDABOT_POLICY_ENFORCER_APP_ID }}
19+
github-installation-id: ${{ secrets.DEPENDABOT_POLICY_ENFORCER_INSTALLATION_ID }}
20+
github-app-private-key: ${{ secrets.DEPENDABOT_POLICY_ENFORCER_PRIVATE_KEY }}
21+
critical-threshold: 3
22+
high-threshold: 5
23+
medium-threshold: 14
24+
low-threshold: 30
25+
report-mode: true

0 commit comments

Comments
 (0)