Skip to content

Commit

Permalink
👷 Add CodeQL CI Pipeline
Browse files Browse the repository at this point in the history
Signed-off-by: Pascal Marco Caversaccio <[email protected]>
  • Loading branch information
pcaversaccio committed Feb 27, 2024
1 parent 6082d10 commit 8ed364f
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 1 deletion.
38 changes: 38 additions & 0 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: 🔍️ CodeQL

on: [push, pull_request, workflow_dispatch]

concurrency:
group: ${{github.workflow}}-${{github.ref}}
cancel-in-progress: true

jobs:
analyse:
runs-on: ${{ matrix.os }}
permissions:
security-events: write
strategy:
matrix:
os:
- ubuntu-latest
language:
- javascript-typescript
- python

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

- name: Initialise CodeQL
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
queries: +security-and-quality

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

- name: Perform CodeQL analysis
uses: github/codeql-action/analyze@v3
with:
category: "/language:${{matrix.language}}"
2 changes: 1 addition & 1 deletion lib/create-util

0 comments on commit 8ed364f

Please sign in to comment.