There was an error while loading. Please reload this page.
1 parent 05e6c40 commit 2dde6acCopy full SHA for 2dde6ac
1 file changed
.github/workflows/cve-remediation.yml
@@ -0,0 +1,32 @@
1
+name: Nightly CVE Remediation
2
+
3
+on:
4
+ schedule:
5
+ # 1:00am Pacific during daylight saving time.
6
+ - cron: '0 8 * * *'
7
+ workflow_dispatch:
8
+ inputs:
9
+ max_issues:
10
+ description: Maximum number of unlinked CVEs to process.
11
+ required: false
12
+ type: number
13
+ default: 50
14
15
+concurrency:
16
+ group: cve-remediation-${{ github.repository }}
17
+ cancel-in-progress: false
18
19
+permissions:
20
+ contents: write
21
+ pull-requests: write
22
+ id-token: write
23
+ actions: read
24
25
+jobs:
26
+ remediate:
27
+ uses: sourcebot-dev/sourcebot/.github/workflows/_cve-remediation.yml@main
28
+ with:
29
+ workflow_asset_repository: sourcebot-dev/sourcebot
30
+ workflow_asset_ref: main
31
+ max_issues: ${{ fromJSON(github.event.inputs.max_issues || '50') }}
32
+ secrets: inherit
0 commit comments