-
Notifications
You must be signed in to change notification settings - Fork 0
36 lines (33 loc) · 877 Bytes
/
Copy pathcodeql.yml
File metadata and controls
36 lines (33 loc) · 877 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
on:
push:
branches: [main]
pull_request:
branches: [main]
schedule:
- cron: "17 4 * * 1"
permissions:
contents: read
jobs:
analyze:
name: CodeQL (${{ matrix.language }})
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write
strategy:
fail-fast: false
matrix:
language: [python, javascript-typescript]
steps:
- name: Checkout
uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803
- name: Initialize CodeQL
uses: github/codeql-action/init@d6317709a54fd87078d323eeb0e48ec331c8e621
with:
languages: ${{ matrix.language }}
- name: Analyze
uses: github/codeql-action/analyze@d6317709a54fd87078d323eeb0e48ec331c8e621
with:
category: /language:${{ matrix.language }}