Skip to content

Set up CodeQL for scanning GitHub Actions #2

Set up CodeQL for scanning GitHub Actions

Set up CodeQL for scanning GitHub Actions #2

Workflow file for this run

name: CodeQL
on:
pull_request:
paths:
- .github/workflows/*
- .github/codeql.yml
push:
branches:
- main
permissions: read-all
jobs:
codeql:
name: actions
runs-on: ubuntu-24.04
permissions:
security-events: write # To upload CodeQL results
steps:
- name: Checkout repository
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
with:
persist-credentials: false
- name: Initialize CodeQL
uses: github/codeql-action/init@d68b2d4edb4189fd2a5366ac14e72027bd4b37dd # v3.28.2
with:
config-file: ./.github/codeql.yml
languages: actions
- name: Perform CodeQL analysis
uses: github/codeql-action/analyze@d68b2d4edb4189fd2a5366ac14e72027bd4b37dd # v3.28.2