Skip to content

Commit 75cf04a

Browse files
committed
Update CodeQL Action
1 parent 22e17ce commit 75cf04a

1 file changed

Lines changed: 10 additions & 1 deletion

File tree

.github/workflows/codeql.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,11 @@ on:
44
push:
55
branches:
66
- master
7+
- "!dependabot/**"
78
pull_request:
8-
# The branches below must be a subset of the branches above
99
branches:
1010
- master
11+
- "!dependabot/**"
1112
schedule:
1213
- cron: "0 0 * * 0"
1314
workflow_dispatch:
@@ -24,11 +25,19 @@ jobs:
2425
steps:
2526
- name: Checkout repository
2627
uses: actions/checkout@v3
28+
with:
29+
persist-credentials: false
2730

2831
- name: Initialize CodeQL
2932
uses: github/codeql-action/init@v2
3033
with:
3134
languages: "javascript"
35+
queries: +security-and-quality
36+
37+
- name: Autobuild
38+
uses: github/codeql-action/autobuild@v2
3239

3340
- name: Perform CodeQL Analysis
3441
uses: github/codeql-action/analyze@v2
42+
with:
43+
category: "/language:javascript"

0 commit comments

Comments
 (0)