Skip to content

Commit

Permalink
add codeql workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
DylanBulmer committed Nov 10, 2023
1 parent 1b28233 commit 88f2e0f
Showing 1 changed file with 38 additions and 0 deletions.
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: Analyze Code Quality

on:
workflow_dispatch:
workflow_call:

jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write

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

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

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}
queries: security-and-quality

# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
- name: Autobuild
uses: github/codeql-action/autobuild@v2

# Preform code analysis
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2

0 comments on commit 88f2e0f

Please sign in to comment.