Skip to content

Commit

Permalink
Create initial codeql.yml configuration (#1373)
Browse files Browse the repository at this point in the history
  • Loading branch information
jentfoo authored Nov 21, 2022
1 parent 079c6db commit 304806e
Showing 1 changed file with 46 additions and 0 deletions.
46 changes: 46 additions & 0 deletions web/.github/workflows/codeql.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
name: "CodeQL"

on:
push:
branches:
- master
- branch/*
pull_request:
branches:
- master
- branch/*
paths-ignore:
- 'scripts/**'

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

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

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 }}

# - run: |
# echo "Run, Build Application using script"
# ./location_of_script_within_repo/buildscript.sh

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

0 comments on commit 304806e

Please sign in to comment.