diff --git a/.github/workflows/periodic-security-check.yaml b/.github/workflows/periodic-security-check.yaml index 49e187539d..a658527f36 100644 --- a/.github/workflows/periodic-security-check.yaml +++ b/.github/workflows/periodic-security-check.yaml @@ -1,4 +1,8 @@ on: + push: + branch: + - master + - 'release-v**.x' schedule: - cron: '0 0 * * *' @@ -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' \ No newline at end of file + sarif_file: 'gosec.sarif'