-
Notifications
You must be signed in to change notification settings - Fork 0
30 lines (26 loc) · 797 Bytes
/
Copy pathcodeql.yml
File metadata and controls
30 lines (26 loc) · 797 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
name: CodeQL
on:
push:
branches: [main]
schedule:
- cron: "0 14 * * 3"
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
jobs:
codeql:
permissions:
security-events: write
contents: read
actions: read
# WHY @main, not a pinned SHA: forkwright/.github publishes no tags, so a
# SHA pin here has no dependabot bump path and just freezes. forkwright/
# .github is first-party -- same org, same trust boundary -- not the
# third-party supply-chain case a SHA pin defends against.
uses: forkwright/.github/.github/workflows/codeql.yml@main
with:
analyze_actions: true
analyze_rust: true
rust_toolchain: "nightly"