Skip to content

Commit

Permalink
Update codeql-analysis.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
coliff committed Feb 2, 2024
1 parent 3207fe3 commit 1ea03ca
Showing 1 changed file with 14 additions and 4 deletions.
18 changes: 14 additions & 4 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
name: "CodeQL"

on:
push:
branches: [ "main" ]
pull_request:
branches:
- main
- "!dependabot/**"
branches: [ "main" ]
workflow_dispatch:

jobs:
Expand All @@ -17,18 +17,28 @@ jobs:
contents: read
security-events: write

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

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

- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: "javascript-typescript"
languages: ${{ matrix.language }}
queries: +security-and-quality
config: |
paths-ignore:
- test/*
- name: Autobuild

Check warning on line 38 in .github/workflows/codeql-analysis.yml

View workflow job for this annotation

GitHub Actions / spellcheck

Unknown word (Autobuild)
uses: github/codeql-action/autobuild@v3

Check warning on line 39 in .github/workflows/codeql-analysis.yml

View workflow job for this annotation

GitHub Actions / spellcheck

Unknown word (autobuild)

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

0 comments on commit 1ea03ca

Please sign in to comment.