Skip to content

Commit 4035030

Browse files
committed
update workflow
1 parent 4d08691 commit 4035030

1 file changed

Lines changed: 13 additions & 2 deletions

File tree

.github/workflows/fix-security-vulnerability.yml

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ jobs:
2222
contents: write
2323
pull-requests: write
2424
security-events: read
25+
issues: write
2526
steps:
2627
- uses: actions/checkout@v4
2728
with:
@@ -34,6 +35,16 @@ jobs:
3435
/fix-security-vulnerability ${{ github.event.alert.number || github.event.inputs.alert }}
3536
3637
IMPORTANT: Do NOT dismiss any alerts. Do NOT wait for approval.
37-
Create a branch, apply the fix, and open a PR with your analysis
38-
in the PR description. Target the develop branch.
38+
39+
If you can fix the vulnerability:
40+
Create a branch, apply the fix, and open a PR with your analysis
41+
in the PR description. Target the develop branch.
42+
43+
If you determine the alert should NOT be fixed (version-specific test package,
44+
false positive, no upstream fix available, dev-only acceptable risk, etc.):
45+
Do NOT dismiss the alert. Instead, open a GitHub issue with:
46+
- Title: "Security: Dismiss Dependabot alert #<number> - <package-name>"
47+
- Label: "Security"
48+
- Body: Include the full vulnerability details, your analysis,
49+
the recommended dismissal reason, and why the alert cannot/should not be fixed.
3950
claude_args: '--max-turns 20'

0 commit comments

Comments
 (0)