Skip to content

Commit

Permalink
Update CodeQL workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
XhmikosR authored Apr 13, 2023
1 parent 6194707 commit f33e3c9
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ on:
- master
- "!dependabot/**"
pull_request:
# The branches below must be a subset of the branches above
branches:
- master
- "!dependabot/**"
schedule:
- cron: "0 0 * * 0"
workflow_dispatch:

jobs:
analyze:
Expand All @@ -23,13 +23,21 @@ jobs:
security-events: write

steps:
- name: Checkout repository
- name: Clone repository
uses: actions/checkout@v3
with:
persist-credentials: false

- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: "javascript"
queries: +security-and-quality

- name: Autobuild
uses: github/codeql-action/autobuild@v2

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
with:
category: "/language:javascript"

0 comments on commit f33e3c9

Please sign in to comment.