Skip to content

chore: backports d0ae4f6 to v3 #2738

chore: backports d0ae4f6 to v3

chore: backports d0ae4f6 to v3 #2738

Workflow file for this run

name: CodeQL
on:
pull_request:
branches:
- main
- v*
types:
- opened
- synchronize
- reopened
- labeled
- unlabeled
push:
branches:
- main
- v*
permissions:
actions: read
contents: read
security-events: write
jobs:
codeql:
runs-on: ubuntu-latest
if: (github.event_name == 'pull_request' && !contains(github.event.pull_request.labels.*.name, 'skip workflows')) || github.event_name == 'push'
strategy:
fail-fast: false
matrix:
language:
- go
steps:
- uses: actions/checkout@v3
- uses: github/codeql-action/init@v2
with:
languages: '${{ matrix.language }}'
- uses: github/codeql-action/autobuild@v2
- uses: github/codeql-action/analyze@v2