Skip to content

Static security scanning #151

Static security scanning

Static security scanning #151

Workflow file for this run

name: "Static security scanning"
on:
push:
branches: [main, master]
pull_request:
types: [opened, synchronize, reopened]
branches: [main, master]
paths:
- '**.js'
schedule:
# Timezone: UTC
# ┌───────────── minute (0 - 59)
# │ ┌───────────── hour (0 - 23)
# │ │ ┌───────────── day of the month (1 - 31)
# │ │ │ ┌───────────── month (1 - 12 or JAN-DEC)
# │ │ │ │ ┌───────────── day of the week (0 - 6 or SUN-SAT)
# │ │ │ │ │
# │ │ │ │ │
# │ │ │ │ │
# * * * * *
- cron: '30 0 * * 0'
jobs:
run:
name: CodeQL
runs-on: ubuntu-latest
permissions:
# required for all workflows:
security-events: write
strategy:
fail-fast: false
matrix:
language: ['javascript']
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}
- name: Perform CodeQL analysis
uses: github/codeql-action/analyze@v2