console/.github/workflows/codeql-analysis.yml
Dimitri POSTOLOV eb43ee84d3
[🔧 ESLint] fixes for yaml with yml/plain-scalar rule (#738)
Co-authored-by: Kamil Kisiela <kamil.kisiela@gmail.com>
2022-12-08 08:53:56 +01:00

40 lines
841 B
YAML

name: CodeQL
on:
push:
branches: [main]
pull_request:
# The branches below must be a subset of the branches above
branches: [main]
schedule:
- cron: '32 2 * * 6'
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write
strategy:
fail-fast: false
matrix:
language: [javascript]
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: ${{ matrix.language }}
- name: Autobuild
uses: github/codeql-action/autobuild@v2
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2