Skip to content

Commit 9a528cc

Browse files
authored
Merge pull request #110 from XhmikosR/patch-1
Update CodeQL workflow
2 parents 6194707 + f33e3c9 commit 9a528cc

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

.github/workflows/codeql.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ on:
66
- master
77
- "!dependabot/**"
88
pull_request:
9-
# The branches below must be a subset of the branches above
109
branches:
1110
- master
1211
- "!dependabot/**"
1312
schedule:
1413
- cron: "0 0 * * 0"
14+
workflow_dispatch:
1515

1616
jobs:
1717
analyze:
@@ -23,13 +23,21 @@ jobs:
2323
security-events: write
2424

2525
steps:
26-
- name: Checkout repository
26+
- name: Clone repository
2727
uses: actions/checkout@v3
28+
with:
29+
persist-credentials: false
2830

2931
- name: Initialize CodeQL
3032
uses: github/codeql-action/init@v2
3133
with:
3234
languages: "javascript"
35+
queries: +security-and-quality
36+
37+
- name: Autobuild
38+
uses: github/codeql-action/autobuild@v2
3339

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

0 commit comments

Comments
 (0)