Skip to content

Commit

Permalink
Improve codeql workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
EHJ-52n committed Dec 2, 2024
1 parent ae98ddd commit 471ffd7
Showing 1 changed file with 11 additions and 9 deletions.
20 changes: 11 additions & 9 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,18 @@
name: "CodeQL"

concurrency:
group: "read2burn-codeql"
cancel-in-progress: true
on:
push:
branches: [ "main" ]
paths-ignore:
- '.github/**'
pull_request:
# The branches below must be a subset of the branches above
branches: [ "main" ]
schedule:
# At 06:52 AM, only on Monday
- cron: '52 6 * * 1'

jobs:
analyze:
name: Analyze
Expand All @@ -18,22 +21,21 @@ jobs:
actions: read
contents: read
security-events: write

strategy:
fail-fast: false
matrix:
language: [ 'javascript' ]

steps:
- name: Checkout repository
-
name: Checkout repository
uses: actions/checkout@v4

- name: Initialize CodeQL
-
name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}

- name: Perform CodeQL Analysis
-
name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
with:
category: "/language:${{ matrix.language }}"

0 comments on commit 471ffd7

Please sign in to comment.