Title: Pin Swift macOS PR checks to macOS 15 for Xcode 16 by henrymercer · Pull Request #3971 · github/codeql-action · GitHub
Open Graph Title: Pin Swift macOS PR checks to macOS 15 for Xcode 16 by henrymercer · Pull Request #3971 · github/codeql-action
X Title: Pin Swift macOS PR checks to macOS 15 for Xcode 16 by henrymercer · Pull Request #3971 · github/codeql-action
Description: The macos-latest-xlarge label has started resolving to macOS 26, which ships only Xcode 26 (Swift 6.2) and no longer includes Xcode 16. Our Swift-analysing PR checks explicitly select Xcode 16 (xcode-select -s /Applications/Xcode_16.app) because CodeQL CLI versions before 2.24.0 only support Swift up to 6.1. That step now fails on macOS 26, which is why the Multi-language repository check is red. We still want to exercise the full matrix of supported CodeQL versions (back to 2.19.4) against Swift, so we can't simply move to Xcode 26. Instead, this pins the affected checks to macOS 15, where Xcode 16 is still available: multi-language-autodetect: macos-latest-xlarge -> macos-15-xlarge This restores the runner that macos-latest-xlarge pointed at before the migration, so it is a known-good configuration. The generated __*.yml workflows were regenerated via npm run update-pr-checks. Once the minimum supported CodeQL version reaches 2.24.0, these checks can drop the Xcode 16 pin and move back to macos-latest. The nightly-only Swift checks (swift-autobuild, export-file-baseline-information) are intentionally left on macOS 26, since nightly CodeQL supports Swift 6.2 with the default Xcode. See actions/runner-images#14167. Risk assessment For internal use only. Please select the risk level of this change: Low risk: Changes are fully under feature flags, or have been fully tested and validated in pre-production environments and are highly observable, or are documentation or test only. Which use cases does this change impact? Environments: Testing/None - This change does not impact any CodeQL workflows in production. How did/will you validate this change? End-to-end tests - I am depending on PR checks (i.e. tests in pr-checks). If something goes wrong after this change is released, what are the mitigation and rollback strategies? Development/testing only - This change cannot cause any failures in production. How will you know if something goes wrong after this change is released? Other - The affected PR checks will fail in CI. Are there any special considerations for merging or releasing this change? No special considerations - This change can be merged at any time. Merge / deployment checklist Confirm this change is backwards compatible with existing workflows. Consider adding a changelog entry for this change. N/A - CI/test-only change with no user-facing impact. Confirm the readme and docs have been updated if necessary. N/A
Open Graph Description: The macos-latest-xlarge label has started resolving to macOS 26, which ships only Xcode 26 (Swift 6.2) and no longer includes Xcode 16. Our Swift-analysing PR checks explicitly select Xcode 16 (xco...
X Description: The macos-latest-xlarge label has started resolving to macOS 26, which ships only Xcode 26 (Swift 6.2) and no longer includes Xcode 16. Our Swift-analysing PR checks explicitly select Xcode 16 (xco...
Opengraph URL: https://github.com/github/codeql-action/pull/3971
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:4f49e01f-99a0-00cf-6fb9-4f17a9524769 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | CA9C:39C8F0:79245D:A33E1D:6A4C82E7 |
| html-safe-nonce | 996034f17aaf7a70cd99fc29bc35d0f876b157ce98bd328c59e6b8287822b36e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQTlDOjM5QzhGMDo3OTI0NUQ6QTMzRTFEOjZBNEM4MkU3IiwidmlzaXRvcl9pZCI6IjI0MDg0OTg4ODgzNTQ1OTU1NTkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 32a139c1dfc1fdcb538a6109ff505806c69b5ee0e6c69f314695587aa1bcd150 |
| hovercard-subject-tag | pull_request:3920972387 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/github/codeql-action/pull/3971/files |
| twitter:image | https://avatars.githubusercontent.com/u/14129055?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/14129055?s=400&v=4 |
| og:image:alt | The macos-latest-xlarge label has started resolving to macOS 26, which ships only Xcode 26 (Swift 6.2) and no longer includes Xcode 16. Our Swift-analysing PR checks explicitly select Xcode 16 (xco... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 3d11bb817438277de2a940854450e83a7d32b6aeb5014e9e6b00a6423900251c |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/github/codeql-action git https://github.com/github/codeql-action.git |
| octolytics-dimension-user_id | 9919 |
| octolytics-dimension-user_login | github |
| octolytics-dimension-repository_id | 259445878 |
| octolytics-dimension-repository_nwo | github/codeql-action |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 259445878 |
| octolytics-dimension-repository_network_root_nwo | github/codeql-action |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | cd470457e909b9d062f8002cf438ba870e6acff6 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width