Skip to content

Merge pull request #345 from github/branch-ruleset-fixes #460

Merge pull request #345 from github/branch-ruleset-fixes

Merge pull request #345 from github/branch-ruleset-fixes #460

name: CodeQL
on:
push:
branches: [ main ]
# Disable on PR for now to speed up testing
# pull_request:
# # The branches below must be a subset of the branches above
# branches: [ main ]
schedule:
- cron: '45 3 * * 5'
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
uses: actions/checkout@v4
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
- name: Autobuild
uses: github/codeql-action/autobuild@v3
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3