Skip to content

Commit

Permalink
Add CodeQL code scanning GitHub Action (#143)
Browse files Browse the repository at this point in the history
  • Loading branch information
coliff committed Feb 22, 2023
1 parent 6cdfb58 commit b2b20f0
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: "CodeQL"

on:
schedule:
- cron: "0 0 1 * *"
workflow_dispatch:

permissions:
contents: read

jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
if: ${{ github.actor != 'dependabot[bot]' }}
permissions:
actions: read
contents: read
security-events: write

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

- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: "javascript"

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

0 comments on commit b2b20f0

Please sign in to comment.