mirror of
https://github.com/github/codeql-action.git
synced 2026-10-03 17:41:28 +00:00
`macos-latest-xlarge` now resolves to macOS 26, which ships only Xcode 26 (Swift 6.2) and no longer includes Xcode 16. The Swift-analysing PR checks select Xcode 16 because CodeQL CLI versions before 2.24.0 only support Swift up to 6.1, so `xcode-select -s /Applications/Xcode_16.app` fails on macOS 26. Pin these checks to macOS 15, where Xcode 16 is still available, so we keep testing the full matrix of supported CodeQL versions. This also pre-empts the `swift-custom-build` check failing once plain `macos`/`macos-latest` migrates. See https://github.com/actions/runner-images/issues/14167. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
PR Checks
This folder contains the workflow generator that must be run in order to create the workflows used by the CodeQL Action CI. Workflows must be recreated after any change to one of the files in this directory.
Updating workflows
Run ./sync.sh to invoke the workflow generator and re-generate the workflow files in .github/workflows/ based on the templates in pr-checks/checks/.
Alternatively, you can use just:
- Install https://github.com/casey/just by whichever way you prefer.
- Run
just update-pr-checksin your terminal.