Skip to content

Commit 660b925

Browse files
committed
ci: cleaning up the codeql workflow
1 parent 738b70d commit 660b925

File tree

2 files changed

+12
-6
lines changed

2 files changed

+12
-6
lines changed

.github/codeql/config.yml

Lines changed: 0 additions & 2 deletions
This file was deleted.

.github/workflows/codeql-analysis.yml

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,18 @@ on:
99
- cron: '0 12 * * 1'
1010

1111
jobs:
12-
CodeQL-Build:
13-
12+
analyze:
13+
name: Analyze
1414
runs-on: ubuntu-latest
15+
permissions:
16+
actions: read
17+
contents: read
18+
security-events: write
19+
20+
strategy:
21+
fail-fast: false
22+
matrix:
23+
language: [ 'javascript' ]
1524

1625
steps:
1726
- name: Checkout repository
@@ -20,8 +29,7 @@ jobs:
2029
- name: Initialize CodeQL
2130
uses: github/codeql-action/init@v1
2231
with:
23-
languages: javascript
24-
config-file: ./.github/codeql/config.yml
32+
languages: ${{ matrix.language }}
2533

2634
- name: Perform CodeQL Analysis
2735
uses: github/codeql-action/analyze@v1

0 commit comments

Comments
 (0)