-
Notifications
You must be signed in to change notification settings - Fork 173
36 lines (29 loc) · 929 Bytes
/
codeql.yml
File metadata and controls
36 lines (29 loc) · 929 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
---
name: "CodeQL Scan: Actions+existing"
on:
push:
branches: [master]
pull_request:
branches: [master]
permissions:
contents: read
jobs:
analyze:
name: Analyze workflows and JS/TS
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write
steps:
- name: Harden the runner (Audit all outbound calls)
uses: step-security/harden-runner@f808768d1510423e83855289c910610ca9b43176 # v2.17.0
with:
egress-policy: audit
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Initialize CodeQL
uses: github/codeql-action/init@c793b717bc78562f491db7b0e93a3a178b099162 # v4.32.5
with:
languages: actions, javascript-typescript
- name: Autobuild and analyze
uses: github/codeql-action/analyze@c793b717bc78562f491db7b0e93a3a178b099162 # v4.32.5