-
Notifications
You must be signed in to change notification settings - Fork 0
37 lines (34 loc) · 941 Bytes
/
codeql.yml
File metadata and controls
37 lines (34 loc) · 941 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
31
32
33
34
35
36
37
# CodeQL doesn't support Dart at the time of writing — but it does scan
# our GitHub Actions workflows for misuse, secret exposure, and known bad
# patterns. We run it weekly and on workflow changes.
name: CodeQL
on:
push:
branches: [main]
paths: ['.github/workflows/**']
pull_request:
branches: [main]
paths: ['.github/workflows/**']
schedule:
- cron: '17 4 * * 1' # Mondays 04:17 UTC
permissions:
actions: read
contents: read
security-events: write
jobs:
analyze:
name: Analyze (${{ matrix.language }})
runs-on: ubuntu-latest
timeout-minutes: 30
strategy:
fail-fast: false
matrix:
language: [actions]
steps:
- uses: actions/checkout@v6
- uses: github/codeql-action/init@v4
with:
languages: ${{ matrix.language }}
- uses: github/codeql-action/analyze@v4
with:
category: "/language:${{ matrix.language }}"