Files
test-repo/.github/workflows/codeql.yml
T
renovate[bot] fdd766602e Update actions/checkout to v7 (#19405)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-06-20 05:03:42 +08:00

43 lines
904 B
YAML

name: CodeQL
on:
push:
branches:
- main
- next
- v*
- patch-release
- "!renovate/**"
pull_request:
branches:
- main
- next
- v*
- patch-release
- "!renovate/**"
permissions:
actions: read
contents: read
security-events: write
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
- name: Initialize CodeQL
uses: github/codeql-action/init@8aad20d150bbac5944a9f9d289da16a4b0d87c1e # v4.36.2
with:
config-file: ./.github/codeql/codeql-config.yml
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@8aad20d150bbac5944a9f9d289da16a4b0d87c1e # v4.36.2