Skip to content

Commit

Permalink
Merge pull request #79 from bcgov/feat/codeql
Browse files Browse the repository at this point in the history
CodeQL scan workflow
  • Loading branch information
hannah-macdonald1 authored Feb 6, 2025
2 parents 2cb3f9c + 90be527 commit 60bfe8f
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/codeql.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Static Code Analysis

on:
push:
branches:
- '*'

jobs:
analyze:
name: Analyze with CodeQL
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@v4

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

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3

0 comments on commit 60bfe8f

Please sign in to comment.