Skip to content

Commit 2d6824b

Browse files
committed
Renamed codeql and updated to v2
1 parent 472023b commit 2d6824b

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

.github/workflows/codeql-analysis.yml renamed to .github/workflows/codeql.yml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,24 +12,28 @@ jobs:
1212
analyze:
1313
name: Analyze
1414
runs-on: ubuntu-latest
15+
permissions:
16+
actions: read
17+
contents: read
18+
security-events: write
1519

1620
strategy:
1721
fail-fast: false
1822
matrix:
19-
language: [ 'javascript' ]
23+
language: [ 'javascript' , 'typescript' ]
2024

2125
steps:
2226
- name: Checkout repository
23-
uses: actions/checkout@v2
27+
uses: actions/checkout@v3
2428

2529
# Initializes the CodeQL tools for scanning.
2630
- name: Initialize CodeQL
27-
uses: github/codeql-action/init@v1
31+
uses: github/codeql-action/init@v2
2832
with:
2933
languages: ${{ matrix.language }}
3034

3135
- name: Autobuild
32-
uses: github/codeql-action/autobuild@v1
36+
uses: github/codeql-action/autobuild@v2
3337

3438
- name: Perform CodeQL Analysis
35-
uses: github/codeql-action/analyze@v1
39+
uses: github/codeql-action/analyze@v2

0 commit comments

Comments
 (0)