🧱 Add build.yml
workflow
#151
Workflow file for this run
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 Analysis | |
on: # yamllint disable-line rule:truthy | |
pull_request: | |
branches: | |
- main | |
permissions: {} | |
jobs: | |
codeql-analysis: | |
name: CodeQL Analysis | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
security-events: write | |
strategy: | |
fail-fast: false | |
matrix: | |
language: ["javascript", "python"] | |
steps: | |
- name: Checkout | |
id: checkout | |
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 | |
- name: Initialise CodeQL | |
id: initialise_codeql | |
uses: github/codeql-action/init@407ffafae6a767df3e0230c3df91b6443ae8df75 # v2.22.8 | |
with: | |
languages: ${{ matrix.language }} | |
- name: CodeQL Autobuild | |
id: codeql_autobuild | |
uses: github/codeql-action/autobuild@407ffafae6a767df3e0230c3df91b6443ae8df75 # v2.22.8 | |
- name: CodeQL Analysis | |
id: codeql_analysis | |
uses: github/codeql-action/analyze@407ffafae6a767df3e0230c3df91b6443ae8df75 # v2.22.8 | |
with: | |
category: "language:${{ matrix.language }}" |