Repository navigation
Fix CI with standard macOS runners and update brace-expansion - #4320
beer-sakthai wants to merge 17 commits into
Conversation
…in-n5m9pm Sync main with upstream github/codeql-action
The `*-xlarge` macOS runners are GitHub larger runners that are not available to this fork, so every job targeting them failed without starting. Switch to the standard hosted equivalents (macos-latest, macos-15, macos-14) in the PR-check sources and codeql.yml, and regenerate the PR-check workflows with pr-checks/sync.sh. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01A6REV1f9XMQdyBtTufzb8e
This fork has CodeQL default setup enabled, which rejects SARIF from advanced configurations, so the `analyze-javascript (ubuntu-24.04)` and `analyze-other` jobs failed at upload. Default setup already scans this repository, so keep running the analyses but only upload when running in github/codeql-action. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01A6REV1f9XMQdyBtTufzb8e
…in-n5m9pm Fix fork CI: standard macOS runners and skip self-analysis uploads
Bumps the npm_and_yarn group with 1 update in the / directory: [brace-expansion](https://github.com/juliangruber/brace-expansion). Updates `brace-expansion` from 1.1.18 to 1.1.21 - [Release notes](https://github.com/juliangruber/brace-expansion/releases) - [Commits](juliangruber/brace-expansion@v1.1.18...v1.1.21) --- updated-dependencies: - dependency-name: brace-expansion dependency-version: 1.1.21 dependency-type: indirect dependency-group: npm_and_yarn ... Signed-off-by: dependabot[bot] <support@github.com>
…nd_yarn-cb24140fdc Bump brace-expansion from 1.1.18 to 1.1.21 in the npm_and_yarn group across 1 directory
There was a problem hiding this comment.
🟡 Changes recommended
The CodeQL workflow’s repository check still allows fork pull requests to attempt SARIF uploads with a fork-restricted token, so the guard needs to be corrected to include the pull request’s source repository.
1 open issue
What changed in this PR
Updates CI to use standard macOS GitHub-hosted runners, synchronizes generated workflows, refreshes transitive brace-expansion dependencies, and adjusts CodeQL SARIF upload conditions.
Changes:
- Replaced macOS xlarge runner labels with standard
macos-14,macos-15, andmacos-latestlabels. - Updated the Xcode 16 selection condition for the macOS 15 runner.
- Refreshed
brace-expansionentries and integrity metadata in the lockfile. - Added a canonical-repository guard around CodeQL SARIF uploads.
| File | Description |
|---|---|
| pr-checks/checks/swift-custom-build.yml | Uses the standard macOS runner for Swift custom-build checks. |
| pr-checks/checks/swift-autobuild.yml | Uses the standard macOS runner for Swift autobuild checks. |
| pr-checks/checks/per-language-bundle-validation.yml | Uses the standard macOS runner for Swift bundle validation. |
| pr-checks/checks/multi-language-autodetect.yml | Updates macOS runner labels and the Xcode 16 selection condition. |
| pr-checks/checks/all-platform-bundle.yml | Uses the standard macOS runner for all-platform bundle checks. |
| package-lock.json | Refreshes transitive brace-expansion package versions and integrity metadata. |
| .github/workflows/codeql.yml | Updates the macOS analysis matrix and CodeQL SARIF upload condition. |
| .github/workflows/__swift-custom-build.yml | Synchronizes the generated workflow with the standard macOS runner change. |
| .github/workflows/__swift-autobuild.yml | Synchronizes the generated workflow with the standard macOS runner change. |
| .github/workflows/__per-language-bundle-validation.yml | Synchronizes the generated workflow with the standard macOS runner change. |
| .github/workflows/__multi-language-autodetect.yml | Synchronizes the generated workflow with the runner and Xcode selection updates. |
| .github/workflows/__all-platform-bundle.yml | Synchronizes the generated workflow with the standard macOS runner change. |
Review effort: Lite (auto)
beer-sakthai
left a comment
There was a problem hiding this comment.
Review completed. Before release, please ensure the stated risk level matches the production code paths affected, appropriate validation has been completed, and rollback/monitoring coverage is in place. Also confirm backwards compatibility and whether a changelog or documentation update is required.
Expanded the security policy to include detailed reporting methods, security scope, response processes, and guidelines for responsible disclosure.
|
There was a problem hiding this comment.
🟡 Changes recommended
The change contains active critical malformed-YAML issues in the CodeQL workflow, along with additional duplicate-key problems that can invalidate or silently drop intended macOS checks and leave the published security contact unusable.
9 open issues
Duplicate os key prevents the macOS matrix from loading · New Duplicate analysis steps leave the workflow YAML malformed · New Replace placeholder security contact with a valid reporting channel · New Duplicate runner-image key drops macOS coverage · New Duplicate runner-image key drops a macOS check · New Add a separate matrix entry for the Swift nightly case · New Duplicate runner-image keys prevent both runners from being generated · New Add sibling entries for the two macOS runner configurations · New PR title mentions a brace-expansion update absent from the changes · New
1 resolved since last review
Review effort: Lite (auto)
beer-sakthai
left a comment
There was a problem hiding this comment.
Looks good overall. No blocking issues from my review. CI checks should confirm everything.
Removed unsupported OS versions from the matrix. Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Bumps the npm-minor group with 8 updates in the / directory: | Package | From | To | | --- | --- | --- | | [@actions/glob](https://github.com/actions/toolkit/tree/HEAD/packages/glob) | `0.5.1` | `0.7.0` | | [follow-redirects](https://github.com/follow-redirects/follow-redirects) | `1.16.1` | `1.16.2` | | [node-forge](https://github.com/digitalbazaar/forge) | `1.4.1` | `1.4.3` | | [semver](https://github.com/npm/node-semver) | `7.8.5` | `7.8.6` | | [@types/sinon](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/sinon) | `22.0.1` | `22.0.2` | | [eslint-plugin-jsdoc](https://github.com/gajus/eslint-plugin-jsdoc) | `65.4.0` | `65.4.3` | | [globals](https://github.com/sindresorhus/globals) | `17.13.0` | `17.14.0` | | [typescript-eslint](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/typescript-eslint) | `8.72.0` | `8.72.1` | Updates `@actions/glob` from 0.5.1 to 0.7.0 - [Changelog](https://github.com/actions/toolkit/blob/main/packages/glob/RELEASES.md) - [Commits](https://github.com/actions/toolkit/commits/HEAD/packages/glob) Updates `follow-redirects` from 1.16.1 to 1.16.2 - [Release notes](https://github.com/follow-redirects/follow-redirects/releases) - [Commits](follow-redirects/follow-redirects@v1.16.1...v1.16.2) Updates `node-forge` from 1.4.1 to 1.4.3 - [Changelog](https://github.com/digitalbazaar/forge/blob/main/CHANGELOG.md) - [Commits](digitalbazaar/forge@v1.4.1...v1.4.3) Updates `semver` from 7.8.5 to 7.8.6 - [Release notes](https://github.com/npm/node-semver/releases) - [Changelog](https://github.com/npm/node-semver/blob/main/CHANGELOG.md) - [Commits](npm/node-semver@v7.8.5...v7.8.6) Updates `@types/sinon` from 22.0.1 to 22.0.2 - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/sinon) Updates `eslint-plugin-jsdoc` from 65.4.0 to 65.4.3 - [Release notes](https://github.com/gajus/eslint-plugin-jsdoc/releases) - [Commits](gajus/eslint-plugin-jsdoc@v65.4.0...v65.4.3) Updates `globals` from 17.13.0 to 17.14.0 - [Release notes](https://github.com/sindresorhus/globals/releases) - [Commits](sindresorhus/globals@v17.13.0...v17.14.0) Updates `typescript-eslint` from 8.72.0 to 8.72.1 - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/typescript-eslint/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.72.1/packages/typescript-eslint) --- updated-dependencies: - dependency-name: "@actions/glob" dependency-version: 0.7.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: npm-minor - dependency-name: follow-redirects dependency-version: 1.16.2 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: npm-minor - dependency-name: node-forge dependency-version: 1.4.3 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: npm-minor - dependency-name: semver dependency-version: 7.8.6 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: npm-minor - dependency-name: "@types/sinon" dependency-version: 22.0.2 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: npm-minor - dependency-name: eslint-plugin-jsdoc dependency-version: 65.4.3 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: npm-minor - dependency-name: globals dependency-version: 17.14.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: npm-minor - dependency-name: typescript-eslint dependency-version: 8.72.1 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: npm-minor ... Signed-off-by: dependabot[bot] <support@github.com>
Bumps [ava](https://github.com/avajs/ava) from 6.4.1 to 8.3.0. - [Release notes](https://github.com/avajs/ava/releases) - [Commits](avajs/ava@v6.4.1...v8.3.0) --- updated-dependencies: - dependency-name: ava dependency-version: 8.3.0 dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
Bumps [@actions/http-client](https://github.com/actions/toolkit/tree/HEAD/packages/http-client) from 3.0.2 to 4.0.1. - [Changelog](https://github.com/actions/toolkit/blob/main/packages/http-client/RELEASES.md) - [Commits](https://github.com/actions/toolkit/commits/HEAD/packages/http-client) --- updated-dependencies: - dependency-name: "@actions/http-client" dependency-version: 4.0.1 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
…inor-77e50b00c1 Bump the npm-minor group across 1 directory with 8 updates
….3.0 Bump ava from 6.4.1 to 8.3.0
…ons/http-client-4.0.1 Bump @actions/http-client from 3.0.2 to 4.0.1



Risk assessment
For internal use only. Please select the risk level of this change:
Which use cases does this change impact?
Workflow types:
dynamicworkflows (Default Setup, Code Quality, ...).Products:
analysis-kinds: code-scanning.analysis-kinds: code-quality.upload-sarifaction.Environments:
github.comand/or GitHub Enterprise Cloud with Data Residency.How did/will you validate this change?
.test.tsfiles).pr-checks).If something goes wrong after this change is released, what are the mitigation and rollback strategies?
How will you know if something goes wrong after this change is released?
Are there any special considerations for merging or releasing this change?
Merge / deployment checklist