Skip to content

Commit 7be1cc6

Browse files
ci: use centralized vuln remediation workflow from infra (#206)
Replace per-repo workflow + prompt with a thin caller that invokes the reusable 3-stage pipeline (triage → fix → PR) in kernel/infra. Per-repo config in .github/vuln-remediation.json. Made with [Cursor](https://cursor.com) <!-- CURSOR_SUMMARY --> --- > [!NOTE] > **Medium Risk** > Medium risk because it introduces an automated workflow with `contents`/`pull-requests` write permissions and delegates execution to an external reusable workflow, which could affect repo automation behavior. > > **Overview** > Adds a new scheduled/manual `.github/workflows/vuln-remediation.yml` that calls the centralized `kernel/security-workflows` reusable vulnerability remediation pipeline, passing `server/go.mod` for Go version detection and enabling Python setup. > > Introduces `socket.yml` to configure Socket scanning ignore paths for `shared/cdp-test/` and `images/chromium-headful/client/`. > > <sup>Reviewed by [Cursor Bugbot](https://cursor.com/bugbot) for commit 66c4c45. Bugbot is set up for automated code reviews on this repo. Configure [here](https://www.cursor.com/dashboard/bugbot).</sup> <!-- /CURSOR_SUMMARY --> --------- Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent 15d9049 commit 7be1cc6

2 files changed

Lines changed: 22 additions & 0 deletions

File tree

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Vulnerability Remediation
2+
3+
on:
4+
schedule:
5+
- cron: '0 3 * * 3'
6+
workflow_dispatch:
7+
8+
permissions:
9+
contents: write
10+
pull-requests: write
11+
12+
jobs:
13+
remediate:
14+
uses: kernel/security-workflows/.github/workflows/vuln-remediation.yml@main
15+
with:
16+
go-version-file: 'server/go.mod'
17+
setup-python: true
18+
secrets: inherit

socket.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
version: 2
2+
projectIgnorePaths:
3+
- "shared/cdp-test/"
4+
- "images/chromium-headful/client/"

0 commit comments

Comments
 (0)