Bump github/codeql-action from 2 to 3 #3877
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CodeQL Analysis | |
on: | |
push: | |
branches: [ main ] | |
tags: [ v* ] | |
pull_request: | |
# The branches below must be a subset of the branches above | |
branches: [ main ] | |
paths-ignore: [ '**/*.md' ] | |
merge_group: | |
types: [ checks_requested ] | |
schedule: | |
- cron: '00 14 * * *' # Every morning at 7:00am PDT | |
jobs: | |
analyze: | |
name: analyze | |
strategy: | |
fail-fast: false | |
matrix: | |
language: [ typescript ] | |
runs-on: ubuntu-latest | |
permissions: | |
actions: read | |
contents: read | |
security-events: write | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Initialize CodeQL | |
uses: github/codeql-action/init@v3 | |
with: | |
languages: ${{ matrix.language }} | |
- name: Autobuild | |
uses: github/codeql-action/autobuild@v3 | |
- name: Perform CodeQL Analysis | |
uses: github/codeql-action/analyze@v3 | |
with: | |
category: '/language:${{matrix.language}}' |