We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b8bf311 commit 474f848Copy full SHA for 474f848
.github/workflows/actions.yml
@@ -11,6 +11,8 @@ on:
11
- main
12
paths:
13
- '.github/**'
14
+ schedule:
15
+ - cron: '22 2 * * *'
16
17
permissions: {}
18
@@ -43,8 +45,8 @@ jobs:
43
45
run: uvx zizmor --pedantic --format=sarif . > results.sarif
44
46
env:
47
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- # TODO: offline checks only to avoid any rate-limiting issues, maybe enable nightly?
- ZIZMOR_OFFLINE: true
48
+ # run offline for branches and PRs to avoid rate limits
49
+ ZIZMOR_OFFLINE: ${{ github.event_name == 'pull_request' || github.event_name == 'push' }}
50
- name: Upload SARIF file
51
uses: github/codeql-action/upload-sarif@3599b3baa15b485a2e49ef411a7a4bb2452e7f93 # v3.30.5
52
with:
0 commit comments