Skip to content

Commit

Permalink
Update CodeQL workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
XhmikosR authored and MohammadYounes committed Apr 11, 2023
1 parent e197c22 commit 1aedcef
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +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 @@ -24,11 +25,19 @@ jobs:
steps:
- name: Checkout 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 1aedcef

Please sign in to comment.