Skip to content

CodeQL

CodeQL #1152

name: CodeQL
on:
schedule:
- cron: '40 8 * * 2'
push:
branches:
- master
pull_request:
branches:
- master
permissions:
actions: write
contents: read
security-events: write
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
if: |
github.event_name == 'schedule' ||
github.event_name == 'push' ||
(github.event_name == 'pull_request' && github.actor != 'dependabot[bot]')
steps:
- uses: actions/checkout@v3
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: javascript
- name: Autobuild
uses: github/codeql-action/autobuild@v2
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2