Skip to content

Commit

Permalink
ci: add CodeQL action
Browse files Browse the repository at this point in the history
  • Loading branch information
iiroj committed Nov 13, 2021
1 parent 3a35037 commit 36b2a53
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: "CodeQL"

on:
push:
# Run on pushes to specific branches
branches:
- master
- next
- beta
- alpha
# Do not run on tags
tags-ignore:
- "*"
pull_request:
# Run on to branches with an open PR
branches:
- "*"
schedule:
# At 00:00 on Monday.
- cron: '0 0 * * 1'

jobs:
CodeQL:
runs-on: ubuntu-latest
permissions:
security-events: write
steps:
- uses: actions/checkout@v2
- uses: github/codeql-action/init@v1
with:
languages: javascript
- uses: github/codeql-action/analyze@v1

0 comments on commit 36b2a53

Please sign in to comment.