Skip to content

⬆️(deps): Bump github/codeql-action/init from 4.36.2 to 4.37.3 #655

⬆️(deps): Bump github/codeql-action/init from 4.36.2 to 4.37.3

⬆️(deps): Bump github/codeql-action/init from 4.36.2 to 4.37.3 #655

Workflow file for this run

#
# .github/workflows/codeql.yaml
#
---
name: CodeQL
on:
push:
branches: [main]
pull_request:
branches: [main]
schedule:
- cron: 44 14 * * 4
workflow_dispatch: {}
permissions: {}
defaults:
run:
shell: /bin/zsh -Negku {0}
jobs:
analyze:
name: Analyze ${{matrix.language}}
runs-on: macos-26
permissions:
security-events: write
strategy:
fail-fast: false
matrix:
include:
- language: actions
build-mode: none
- language: swift
build-mode: manual
steps:
- name: 🛒 Checkout repo
env:
GIT_CONFIG_COUNT: 1
GIT_CONFIG_KEY_0: init.defaultBranch
GIT_CONFIG_VALUE_0: ${{github.event.repository.default_branch}}
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
# Include all history & tags for Scripts/version
fetch-depth: 0
- name: 🔧 Setup repo
run: Scripts/setup_workflow_repo
- name: 🔩 Initialize CodeQL
uses: github/codeql-action/init@e4fba868fa4b1b91e1fdab776edc8cfbe6e9fb81 # v4.37.3
with:
languages: ${{matrix.language}}
build-mode: ${{matrix.build-mode}}
queries: ${{matrix.language == 'swift' && '+security-and-quality' || ''}}
- name: 🏗 Build Swift
if: matrix.language == 'swift'
run: |
setopt extendedglob globassign
XCODE_PATH=/Applications/Xcode_[0-9.]##.app(/On[1])
sudo xcode-select -s "${XCODE_PATH}"
echo "DEVELOPER_DIR=${XCODE_PATH}/Contents/Developer" >>"${GITHUB_ENV}"
Scripts/build codeql -c release
- name: 🔍 Perform CodeQL analysis
uses: github/codeql-action/analyze@8aad20d150bbac5944a9f9d289da16a4b0d87c1e # v4.36.2
with:
category: /language:${{matrix.language}}