File tree Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Original file line number Diff line number Diff line change 8
8
# Run checks on reopened draft PRs to support triggering PR checks on draft PRs that were opened
9
9
# by other workflows.
10
10
types : [opened, synchronize, reopened, ready_for_review]
11
+ schedule :
12
+ # Weekly on Sunday.
13
+ - cron : ' 30 1 * * 0'
11
14
12
15
env :
13
16
CODEQL_ACTION_TESTING_ENVIRONMENT : codeql-action-pr-checks
54
57
# be the same as `tools: null`. This allows us to make the job for each of the bundles a
55
58
# required status check.
56
59
#
57
- # If we're running on push, then we can skip running with `tools: latest` when it would be
60
+ # If we're running on push or schedule , then we can skip running with `tools: latest` when it would be
58
61
# the same as running with `tools: null`.
59
62
if [[ "$GITHUB_EVENT_NAME" != "pull_request" && "$CODEQL_VERSION_DEFAULT" == "$CODEQL_VERSION_LATEST" ]]; then
60
63
VERSIONS_JSON='[null]'
78
81
security-events : write
79
82
80
83
steps :
81
- - uses : actions/checkout@v3
82
- - uses : ./init
84
+ - name : Checkout
85
+ uses : actions/checkout@v3
86
+ - name : Initialize CodeQL
87
+ uses : ./init
83
88
id : init
84
89
with :
85
90
languages : javascript
88
93
# confirm steps.init.outputs.codeql-path points to the codeql binary
89
94
- name : Print CodeQL Version
90
95
run : ${{steps.init.outputs.codeql-path}} version --format=json
91
- - uses : ./analyze
96
+ - name : Perform CodeQL Analysis
97
+ uses : ./analyze
You can’t perform that action at this time.
0 commit comments