-
Notifications
You must be signed in to change notification settings - Fork 0
47 lines (40 loc) · 1.12 KB
/
Copy pathcodeql.yml
File metadata and controls
47 lines (40 loc) · 1.12 KB
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
name: "CodeQL"
on:
push:
branches: [main]
paths-ignore:
- '*.md'
- 'LICENSE'
- 'docs/**'
- '.gitattributes'
- '.gitignore'
- '.githooks/**'
- '.mailmap'
- '.github/dependabot.yml'
pull_request:
branches: [main]
schedule:
- cron: '45 6 * * 1' # Weekly: Monday 06:45 UTC (45 min after build, 15 min after check-upstream)
env:
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
permissions:
contents: read
jobs:
analyze:
name: Analyze (GitHub Actions)
if: github.actor != 'dependabot[bot]'
runs-on: ${{ vars.RUNNER_X86_64 || 'ubuntu-24.04' }}
permissions:
security-events: write
packages: read
actions: read
contents: read
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7
- name: Initialize CodeQL
uses: github/codeql-action/init@7188fc363630916deb702c7fdcf4e481b751f97a # v4
with:
languages: actions
queries: security-extended
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@7188fc363630916deb702c7fdcf4e481b751f97a # v4