Skip to content

Commit

Permalink
ci: setup code scanning with GH CodeQL (#763)
Browse files Browse the repository at this point in the history
  • Loading branch information
barmac authored Jul 6, 2023
1 parent 76194f6 commit 9841a90
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/CODE_SCANNING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: "Code Scanning"

on:
push:
branches: [ master, develop ]
pull_request:
branches: [ master, develop ]
paths-ignore:
- '**/*.md'

jobs:
CodeQL-Build:
# CodeQL runs on ubuntu-latest, windows-latest, and macos-latest
runs-on: ubuntu-latest

permissions:
# required for all workflows
security-events: write

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: javascript
config: |
paths-ignore:
- '**/test'
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2

0 comments on commit 9841a90

Please sign in to comment.