Skip to content

[Github] Add CodeQL Action to check Github Actions Workflows #2

[Github] Add CodeQL Action to check Github Actions Workflows

[Github] Add CodeQL Action to check Github Actions Workflows #2

Workflow file for this run

name: Github Actions CodeQL

Check failure on line 1 in .github/workflows/gha-codeql.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/gha-codeql.yml

Invalid workflow file

(Line: 24, Col: 9): Unexpected value 'sparse-checkout'
permissions:
contents: read
on:
pull_request:
branches:
- main
concurrency:
group: ${{ github.workflow }}
cancel-in-progress: true
jobs:
codeql:
name: 'Github Actions CodeQL'
runs-on: ubuntu-24.04
permissions:
security-events: write
steps:
- name: Checkout LLVM
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
sparse-checkout: |
.github/
- name: Initialize CodeQL
uses: github/codeql-action/init@192325c86100d080feab897ff886c34abd4c83a3 # v3.30.3
with:
languages: actions
queries: security-extended
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@192325c86100d080feab897ff886c34abd4c83a3 # v3.30.3