File tree 1 file changed +2
-52
lines changed
1 file changed +2
-52
lines changed Original file line number Diff line number Diff line change 1
1
name : " CodeQL Advanced"
2
2
3
3
on :
4
- push :
5
- branches : ["main"]
6
- pull_request :
7
- branches : ["main"]
8
- schedule :
9
- - cron : " 29 8 * * 6"
10
-
11
- jobs :
12
- analyze :
13
- name : Analyze (${{ matrix.language }})
14
- runs-on : ${{ (matrix.language == 'swift' && 'macos-latest') || 'ubuntu-latest' }}
15
- permissions :
16
- # required for all workflows
17
- security-events : write
18
-
19
- # required to fetch internal or private CodeQL packs
20
- packages : read
21
-
22
- # only required for workflows in private repositories
23
- actions : read
24
- contents : read
25
-
26
- strategy :
27
- fail-fast : false
28
- matrix :
29
- include :
30
- - language : javascript-typescript
31
- build-mode : none
32
- steps :
33
- - name : Checkout repository
34
- uses : actions/checkout@v4
35
-
36
- - name : Initialize CodeQL
37
- uses : github/codeql-action/init@v3
38
- with :
39
- languages : ${{ matrix.language }}
40
- build-mode : ${{ matrix.build-mode }}
41
-
42
- - if : matrix.build-mode == 'manual'
43
- shell : bash
44
- run : |
45
- echo 'If you are using a "manual" build mode for one or more of the' \
46
- 'languages you are analyzing, replace this with the commands to build' \
47
- 'your code, for example:'
48
- echo ' make bootstrap'
49
- echo ' make release'
50
- exit 1
51
-
52
- - name : Perform CodeQL Analysis
53
- uses : github/codeql-action/analyze@v3
54
- with :
55
- category : " /language:${{matrix.language}}"
4
+ workflow_dispatch :
5
+
You can’t perform that action at this time.
0 commit comments