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

Commit

Permalink
ci: run security checks on push to branch (#1482)
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
sadlerap authored Aug 22, 2023
1 parent 623b0fd commit 39908ed
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/periodic-security-check.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
on:
push:
branch:
- master
- 'release-v**.x'
schedule:
- cron: '0 0 * * *'

Expand Down Expand Up @@ -46,4 +50,4 @@ jobs:
- name: Upload gosec scan results to GitHub Security tab
uses: github/codeql-action/upload-sarif@v2
with:
sarif_file: 'gosec.sarif'
sarif_file: 'gosec.sarif'

0 comments on commit 39908ed

Please sign in to comment.