Skip to content

Commit

Permalink
ci: enable code scanning
Browse files Browse the repository at this point in the history
  • Loading branch information
barmac committed Jun 15, 2023
1 parent 8e7a2b8 commit 26d2bb4
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 26d2bb4

Please sign in to comment.