Skip to content

Merge pull request #26 from Enterwell/stage #24

Merge pull request #26 from Enterwell/stage

Merge pull request #26 from Enterwell/stage #24

name: CodeQL
# Triggering the workflow on PRs and pushes to relevant branches
on:
pull_request:
branches:
- main
push:
branches:
- main
- stage
schedule:
- cron: '00 0 * * 1'
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
permissions:
# Required for all workflows
actions: read
contents: read
security-events: write
steps:
# Checkout
- name: Checkout
uses: actions/checkout@v3
# Initializes the CodeQL tools for scanning
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
- name: Autobuild
uses: github/codeql-action/autobuild@v2
# Analyze the codebase
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2