Skip to content
This repository was archived by the owner on Jun 26, 2024. It is now read-only.

Commit ec6e194

Browse files
ci: run security checks on push to branch (#1482) (#1487)
Recently in PRs, we've been getting warnings that our SAST tools don't have a known configuration for some branches. To fix this warning, we need to add push hooks for `master` and the release branches to run security checks. Signed-off-by: Andy Sadler <[email protected]> Co-authored-by: Andy Sadler <[email protected]>
1 parent 64756b6 commit ec6e194

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/periodic-security-check.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
on:
2+
push:
3+
branch:
4+
- master
5+
- 'release-v**.x'
26
schedule:
37
- cron: '0 0 * * *'
48

@@ -46,4 +50,4 @@ jobs:
4650
- name: Upload gosec scan results to GitHub Security tab
4751
uses: github/codeql-action/upload-sarif@v2
4852
with:
49-
sarif_file: 'gosec.sarif'
53+
sarif_file: 'gosec.sarif'

0 commit comments

Comments
 (0)