Skip to content

Commit 1b90eae

Browse files
maatiniclaude
andcommitted
fix: remove push trigger from security.yml and upgrade codeql-action to v4
security.yml ran concurrently with build.yml on push to main, trying to scan GHCR images that hadn't been pushed yet. Weekly schedule is sufficient since build.yml already scans images during CI. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 46b0f6f commit 1b90eae

2 files changed

Lines changed: 2 additions & 4 deletions

File tree

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ jobs:
113113

114114
- name: Upload Trivy SARIF
115115
if: always()
116-
uses: github/codeql-action/upload-sarif@v3
116+
uses: github/codeql-action/upload-sarif@v4
117117
with:
118118
sarif_file: trivy.sarif
119119
category: trivy-${{ matrix.service }}

.github/workflows/security.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
name: Security
22

33
on:
4-
push:
5-
branches: [main]
64
schedule:
75
- cron: '0 5 * * 1' # Monday 05:00 UTC
86

@@ -58,7 +56,7 @@ jobs:
5856

5957
- name: Upload Trivy SARIF
6058
if: always()
61-
uses: github/codeql-action/upload-sarif@v3
59+
uses: github/codeql-action/upload-sarif@v4
6260
with:
6361
sarif_file: trivy.sarif
6462
category: trivy-weekly-${{ matrix.service }}

0 commit comments

Comments
 (0)