Files
test-repo/.github/workflows/codeql.yml
T
renovate[bot] 427a84d242 chore(deps): update actions/checkout action to v4.1.1 (#15520)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-20 13:17:21 +08:00

41 lines
743 B
YAML

name: CodeQL
on:
push:
branches:
- main
- patch-release
- next
- "!renovate/**"
pull_request:
branches:
- main
- patch-release
- next
- "!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@v4.1.1
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
config-file: ./.github/codeql/codeql-config.yml
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2