Merge pull request #26 from Enterwell/stage #24
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |