Skip to content

Commit 2dde6ac

Browse files
chore: enable nightly CVE remediation
1 parent 05e6c40 commit 2dde6ac

1 file changed

Lines changed: 32 additions & 0 deletions

File tree

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)