mirror of
https://github.com/coder/coder.git
synced 2026-12-05 22:47:22 +08:00
262301db0525b190071f951cefdfdf41c988a03d
1161
Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
|
5b7db9c106 |
ci: bump the github-actions group across 1 directory with 14 updates (#32805)
Bumps the github-actions group with 14 updates in the / directory: | Package | From | To | | --- | --- | --- | | [step-security/harden-runner](https://github.com/step-security/harden-runner) | `2.21.1` | `2.23.0` | | [actions/upload-artifact](https://github.com/actions/upload-artifact) | `7.0.1` | `7.0.2` | | [docker/login-action](https://github.com/docker/login-action) | `4.6.0` | `4.8.0` | | [pnpm/action-setup](https://github.com/pnpm/action-setup) | `6.1.0` | `6.1.1` | | [depot/build-push-action](https://github.com/depot/build-push-action) | `1.18.0` | `1.19.0` | | [actions/create-github-app-token](https://github.com/actions/create-github-app-token) | `3.3.0` | `3.4.0` | | [actions/download-artifact](https://github.com/actions/download-artifact) | `7.0.0` | `8.0.2` | | [astral-sh/setup-uv](https://github.com/astral-sh/setup-uv) | `10.3.0` | `10.4.0` | | [linear/linear-release-action](https://github.com/linear/linear-release-action) | `0.18.1` | `0.18.2` | | [toshimaru/auto-author-assign](https://github.com/toshimaru/auto-author-assign) | `3.1.0` | `3.1.1` | | [ossf/scorecard-action](https://github.com/ossf/scorecard-action) | `2.5.0` | `2.6.0` | | [github/codeql-action/upload-sarif](https://github.com/github/codeql-action) | `4.39.0` | `4.39.4` | | [github/codeql-action/init](https://github.com/github/codeql-action) | `4.39.0` | `4.39.4` | | [github/codeql-action/analyze](https://github.com/github/codeql-action) | `4.39.0` | `4.39.4` | Updates `step-security/harden-runner` from 2.21.1 to 2.23.0 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/step-security/harden-runner/releases">step-security/harden-runner's releases</a>.</em></p> <blockquote> <h2>v2.23.0</h2> <h2>What's Changed</h2> <ul> <li>Added integration with the StepSecurity Secure Registry community tier, a hosted SaaS registry that is free for public repositories using GitHub-hosted runners with Harden-Runner. Enable it with <code>secure-registry: true</code> to route JavaScript package downloads through Secure Registry, which applies a default two-day cooldown and blocks known compromised packages. See the <a href="https://docs.stepsecurity.io/packages/secure-registry/community-tier">Community tier documentation</a> for setup and configuration.</li> <li>Bug fix: Redacted credentials and signatures from signed S3 URLs that could appear in agent error logs when event uploads failed.</li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/step-security/harden-runner/compare/v2.22.4...v2.23.0">https://github.com/step-security/harden-runner/compare/v2.22.4...v2.23.0</a></p> <h2>v2.22.4</h2> <h2>What's Changed</h2> <ul> <li>Fixed a Linux agent memory leak that could cause runners to run out of memory during jobs with heavy process or network activity.</li> <li>The workaround for GitHub’s DNS resolver and outbound proxy experiment on GitHub-hosted Linux runners now defaults to enabled when feature flags can’t be fetched.</li> <li>Improved HTTP/2 TLS interception on Linux (enterprise tier).</li> <li>Added retries for failed monitoring API requests, improving reliability of monitoring initialization and raw-event uploads.</li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/step-security/harden-runner/compare/v2.22.3...v2.22.4">https://github.com/step-security/harden-runner/compare/v2.22.3...v2.22.4</a></p> <h2>v2.22.3</h2> <h2>What's Changed</h2> <ul> <li>Added support for Avrea-hosted runners (enterprise tier)</li> <li>Fixed unexpected blocking of allowed connections caused by GitHub’s DNS resolver and outbound proxy experiment on GitHub-hosted Linux runners</li> <li>Added a feature flag to disable implicit AWS endpoint allowances on self-hosted Linux runners (enterprise tier)</li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/step-security/harden-runner/compare/v2.22.2...v2.22.3">https://github.com/step-security/harden-runner/compare/v2.22.2...v2.22.3</a></p> <h2>v2.22.2</h2> <h2>What's Changed</h2> <ul> <li>Fixed inbound (ingress) network traffic being incorrectly classified as outbound (egress) traffic on macOS</li> <li>Fixed implicit endpoints intended for self-hosted runners being applied to custom VM environments on Linux (enterprise tier)</li> <li>Improved network and DNS tracing, enforcement logic, and process information correlation on Linux (enterprise tier)</li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/step-security/harden-runner/compare/v2.22.1...v2.22.2">https://github.com/step-security/harden-runner/compare/v2.22.1...v2.22.2</a></p> <h2>v2.22.1</h2> <h2>What's Changed</h2> <ul> <li>Fixed security rules not initializing on GHES self-hosted runners</li> <li>Fixed GHES connectivity in block mode by implicitly allowing the GHES hostname</li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/step-security/harden-runner/compare/v2.22.0...v2.22.1">https://github.com/step-security/harden-runner/compare/v2.22.0...v2.22.1</a></p> <h2>v2.22.0</h2> <h2>What's Changed</h2> <ul> <li>Linux ARM64 support for community tier</li> <li>GHES support for self-hosted VMs (enterprise tier)</li> <li>MacOS and Windows runner deny list support for block policy (enterprise tier).</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/step-security/harden-runner/commit/aebdcf6156ab6691adf63218240e476564a1ed4c"><code>aebdcf6</code></a> Merge pull request <a href="https://redirect.github.com/step-security/harden-runner/issues/723">#723</a> from step-security/rc-49</li> <li><a href="https://github.com/step-security/harden-runner/commit/6e7b4a9496c3b473b53942298f2312ee2f31eb72"><code>6e7b4a9</code></a> Merge pull request <a href="https://redirect.github.com/step-security/harden-runner/issues/720">#720</a> from step-security/docs/secure-registry-community-readme</li> <li><a href="https://github.com/step-security/harden-runner/commit/5fdd588ea008f964c603eb030a10a22f002de483"><code>5fdd588</code></a> docs: link community setup and clarify tier scope</li> <li><a href="https://github.com/step-security/harden-runner/commit/07a4d4f16d8af13be880cd5bb4d4246af3d00d75"><code>07a4d4f</code></a> docs: refine Secure Registry introduction and example</li> <li><a href="https://github.com/step-security/harden-runner/commit/b9940bc8fc164c918f089475f789aec6bd005be2"><code>b9940bc</code></a> docs: document Secure Registry community tier</li> <li><a href="https://github.com/step-security/harden-runner/commit/4b0841645111efc14c3e8661fb2f9355ef95187d"><code>4b08416</code></a> Merge pull request <a href="https://redirect.github.com/step-security/harden-runner/issues/719">#719</a> from sailikhith-stepsecurity/feat/secure-registry-ser...</li> <li><a href="https://github.com/step-security/harden-runner/commit/b4635e45c1e5e2c6cbfc1870184f9d41fbb635e3"><code>b4635e4</code></a> fix: keep the first secure-registry summary when the retry fails</li> <li><a href="https://github.com/step-security/harden-runner/commit/0bb4d8fbabc87016994ef9af55bba958724a9514"><code>0bb4d8f</code></a> feat: write the secure-registry job summary returned by the API</li> <li><a href="https://github.com/step-security/harden-runner/commit/193b0f9f4c9e119f96a54940eebaec986cc46a0a"><code>193b0f9</code></a> Merge pull request <a href="https://redirect.github.com/step-security/harden-runner/issues/717">#717</a> from sailikhith-stepsecurity/feat/secure-registry-npm</li> <li><a href="https://github.com/step-security/harden-runner/commit/0b07ee9a6bed3d2c4cf5c7aa1198e05a78026f45"><code>0b07ee9</code></a> fix: point npm at secure-registry only after setup has completed</li> <li>Additional commits viewable in <a href="https://github.com/step-security/harden-runner/compare/v2.21.1...aebdcf6156ab6691adf63218240e476564a1ed4c">compare view</a></li> </ul> </details> <br /> Updates `actions/upload-artifact` from 7.0.1 to 7.0.2 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/actions/upload-artifact/releases">actions/upload-artifact's releases</a>.</em></p> <blockquote> <h2>v7.0.2</h2> <h2>What's Changed</h2> <ul> <li>Improves artifact download retries when the service returns HTTP 429 (rate limiting), including honoring valid Retry-After headers.</li> <li>Updates <code>@actions/artifact</code> to v6.3.1.</li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/tunc-d"><code>@tunc-d</code></a> made their first contribution in <a href="https://redirect.github.com/actions/upload-artifact/pull/821">actions/upload-artifact#821</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/actions/upload-artifact/compare/v7.0.1...v7.0.2">https://github.com/actions/upload-artifact/compare/v7.0.1...v7.0.2</a></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/actions/upload-artifact/commit/cf430e030ddbb5b0abf93d22962f4752f3646cd9"><code>cf430e0</code></a> Merge pull request <a href="https://redirect.github.com/actions/upload-artifact/issues/822">#822</a> from actions/tunc-d-prepare-upload-v7-0-2</li> <li><a href="https://github.com/actions/upload-artifact/commit/c2acdedd35a8824a1552c7137f8c18288c3ea469"><code>c2acded</code></a> chore: prepare v7.0.2 release</li> <li><a href="https://github.com/actions/upload-artifact/commit/4687c1bbaa0a58abb517d90b4bbade6754c80c1a"><code>4687c1b</code></a> Merge pull request <a href="https://redirect.github.com/actions/upload-artifact/issues/821">#821</a> from actions/tunc-d-upload-artifact-package-bump</li> <li><a href="https://github.com/actions/upload-artifact/commit/8cbe1bebdb858105d8fdd88f81404d4de4595719"><code>8cbe1be</code></a> Bump <code>@actions/artifact</code> to 6.3.1</li> <li>See full diff in <a href="https://github.com/actions/upload-artifact/compare/v7.0.1...cf430e030ddbb5b0abf93d22962f4752f3646cd9">compare view</a></li> </ul> </details> <br /> Updates `docker/login-action` from 4.6.0 to 4.8.0 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/docker/login-action/releases">docker/login-action's releases</a>.</em></p> <blockquote> <h2>v4.8.0</h2> <ul> <li>Set Docker Hub OIDC token lifetime default to 1 hour by <a href="https://github.com/crazy-max"><code>@crazy-max</code></a> in <a href="https://redirect.github.com/docker/login-action/pull/1070">docker/login-action#1070</a></li> <li>Bump <code>@aws-sdk/client-ecr</code> and <code>@aws-sdk/client-ecr-public</code> to 3.1161.0 in <a href="https://redirect.github.com/docker/login-action/pull/1103">docker/login-action#1103</a></li> <li>Bump <code>@docker/actions-toolkit</code> from 0.107.0 to 0.109.0 in <a href="https://redirect.github.com/docker/login-action/pull/1105">docker/login-action#1105</a></li> <li>Bump vite from 7.3.6 to 7.3.7 in <a href="https://redirect.github.com/docker/login-action/pull/1101">docker/login-action#1101</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/docker/login-action/compare/v4.7.0...v4.8.0">https://github.com/docker/login-action/compare/v4.7.0...v4.8.0</a></p> <h2>v4.7.0</h2> <ul> <li>Preserve explicit ECR settings in <code>registry-auth</code> by <a href="https://github.com/crazy-max"><code>@crazy-max</code></a> in <a href="https://redirect.github.com/docker/login-action/pull/1089">docker/login-action#1089</a></li> <li>Use registry hosts for scoped credentials by <a href="https://github.com/crazy-max"><code>@crazy-max</code></a> in <a href="https://redirect.github.com/docker/login-action/pull/1088">docker/login-action#1088</a></li> <li>Raise Docker Hub OIDC max expiry to 6 hours by <a href="https://github.com/crazy-max"><code>@crazy-max</code></a> in <a href="https://redirect.github.com/docker/login-action/pull/1068">docker/login-action#1068</a></li> <li>Log Docker Hub OIDC token exchange progress by <a href="https://github.com/crazy-max"><code>@crazy-max</code></a> in <a href="https://redirect.github.com/docker/login-action/pull/1061">docker/login-action#1061</a></li> <li>Bump <code>@aws-sdk/client-ecr</code> and <code>@aws-sdk/client-ecr-public</code> to 3.1154.0 in <a href="https://redirect.github.com/docker/login-action/pull/1093">docker/login-action#1093</a></li> <li>Bump <code>@docker/actions-toolkit</code> from 0.94.0 to 0.107.0 in <a href="https://redirect.github.com/docker/login-action/pull/1100">docker/login-action#1100</a></li> <li>Bump <code>@humanfs/node</code> from 0.16.7 to 0.16.8 in <a href="https://redirect.github.com/docker/login-action/pull/1077">docker/login-action#1077</a></li> <li>Bump csv-parse from 7.0.1 to 7.0.3 in <a href="https://redirect.github.com/docker/login-action/pull/1078">docker/login-action#1078</a></li> <li>Bump handlebars from 4.7.9 to 4.7.10 in <a href="https://redirect.github.com/docker/login-action/pull/1091">docker/login-action#1091</a></li> <li>Bump js-yaml from 5.2.2 to 5.5.0 in <a href="https://redirect.github.com/docker/login-action/pull/1066">docker/login-action#1066</a></li> <li>Bump postcss from 8.5.22 to 8.5.26 in <a href="https://redirect.github.com/docker/login-action/pull/1071">docker/login-action#1071</a></li> <li>Bump postcss-selector-parser from 7.1.1 to 7.1.6 in <a href="https://redirect.github.com/docker/login-action/pull/1092">docker/login-action#1092</a></li> <li>Bump source-map-js from 1.2.1 to 1.2.2 in <a href="https://redirect.github.com/docker/login-action/pull/1090">docker/login-action#1090</a></li> <li>Bump undici from 6.27.0 to 6.29.1 in <a href="https://redirect.github.com/docker/login-action/pull/1085">docker/login-action#1085</a></li> <li>Bump uuid from 14.0.1 to 14.0.3 in <a href="https://redirect.github.com/docker/login-action/pull/1096">docker/login-action#1096</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/docker/login-action/compare/v4.6.0...v4.7.0">https://github.com/docker/login-action/compare/v4.6.0...v4.7.0</a></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/docker/login-action/commit/8aa5831fb8d48d8f76594c7ddde61ae58019f550"><code>8aa5831</code></a> Merge pull request <a href="https://redirect.github.com/docker/login-action/issues/1105">#1105</a> from docker/dependabot/npm_and_yarn/docker/actions-t...</li> <li><a href="https://github.com/docker/login-action/commit/043f81d4e05e27a19df9020f2e39dd823f4d2d8f"><code>043f81d</code></a> [dependabot skip] chore: update generated content</li> <li><a href="https://github.com/docker/login-action/commit/3ff6998ba6383ce47260ffcee94d4c6842a8b82a"><code>3ff6998</code></a> build(deps): bump <code>@docker/actions-toolkit</code> from 0.107.0 to 0.109.0</li> <li><a href="https://github.com/docker/login-action/commit/694ef6a96b98401c14cb99361bb25142fc540e33"><code>694ef6a</code></a> Merge pull request <a href="https://redirect.github.com/docker/login-action/issues/1103">#1103</a> from docker/dependabot/npm_and_yarn/aws-sdk-dependen...</li> <li><a href="https://github.com/docker/login-action/commit/7c6e412a106e8281efb167d841ac30d9a1e148bc"><code>7c6e412</code></a> [dependabot skip] chore: update generated content</li> <li><a href="https://github.com/docker/login-action/commit/aa2441f70facbd0c60782b7bfa92a9430707b661"><code>aa2441f</code></a> build(deps): bump the aws-sdk-dependencies group across 1 directory with 2 up...</li> <li><a href="https://github.com/docker/login-action/commit/d6c10b0849c4d7c082f3e15f0d7dd2c5a3b6885a"><code>d6c10b0</code></a> Merge pull request <a href="https://redirect.github.com/docker/login-action/issues/1106">#1106</a> from docker/dependabot/github_actions/codeql-actions...</li> <li><a href="https://github.com/docker/login-action/commit/319f1ee2c2e4d3703fe262e3a6c99fa9ec1b66af"><code>319f1ee</code></a> Merge pull request <a href="https://redirect.github.com/docker/login-action/issues/1104">#1104</a> from docker/dependabot/github_actions/actions/setup-...</li> <li><a href="https://github.com/docker/login-action/commit/b483b7fe94742a2022eaca73acbef42f721e8ad0"><code>b483b7f</code></a> Merge pull request <a href="https://redirect.github.com/docker/login-action/issues/1101">#1101</a> from docker/dependabot/npm_and_yarn/vite-7.3.7</li> <li><a href="https://github.com/docker/login-action/commit/dc7d67cbf207b05c94d86fc176c0b8a3043322f0"><code>dc7d67c</code></a> Merge pull request <a href="https://redirect.github.com/docker/login-action/issues/1070">#1070</a> from crazy-max/increase-oidc-default-expiry</li> <li>Additional commits viewable in <a href="https://github.com/docker/login-action/compare/dbcb813823bdd20940b903addbd779551569679f...8aa5831fb8d48d8f76594c7ddde61ae58019f550">compare view</a></li> </ul> </details> <br /> Updates `pnpm/action-setup` from 6.1.0 to 6.1.1 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/pnpm/action-setup/releases">pnpm/action-setup's releases</a>.</em></p> <blockquote> <h2>v6.1.1</h2> <h2>What's Changed</h2> <ul> <li>fix: refresh native bootstrap and test shared store reuse by <a href="https://github.com/zkochan"><code>@zkochan</code></a> in <a href="https://redirect.github.com/pnpm/action-setup/pull/293">pnpm/action-setup#293</a></li> <li>fix: update pnpm 11 bootstrap to 11.28.10 by <a href="https://github.com/rstacruz25"><code>@rstacruz25</code></a> in <a href="https://redirect.github.com/pnpm/action-setup/pull/292">pnpm/action-setup#292</a></li> <li>chore: update pinned GitHub Actions by <a href="https://github.com/deining"><code>@deining</code></a> in <a href="https://redirect.github.com/pnpm/action-setup/pull/223">pnpm/action-setup#223</a></li> <li>fix: skip saving missing cache directories by <a href="https://github.com/zkochan"><code>@zkochan</code></a> in <a href="https://redirect.github.com/pnpm/action-setup/pull/294">pnpm/action-setup#294</a></li> <li>docs: clarify manifest-based version selection by <a href="https://github.com/djmurphy32"><code>@djmurphy32</code></a> in <a href="https://redirect.github.com/pnpm/action-setup/pull/244">pnpm/action-setup#244</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/rstacruz25"><code>@rstacruz25</code></a> made their first contribution in <a href="https://redirect.github.com/pnpm/action-setup/pull/292">pnpm/action-setup#292</a></li> <li><a href="https://github.com/djmurphy32"><code>@djmurphy32</code></a> made their first contribution in <a href="https://redirect.github.com/pnpm/action-setup/pull/244">pnpm/action-setup#244</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/pnpm/action-setup/compare/v6.1.0...v6.1.1">https://github.com/pnpm/action-setup/compare/v6.1.0...v6.1.1</a></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/pnpm/action-setup/commit/73e46992e05b19abd31f2f3c20e0e7370d762115"><code>73e4699</code></a> docs: clarify manifest-based version selection (<a href="https://redirect.github.com/pnpm/action-setup/issues/244">#244</a>)</li> <li><a href="https://github.com/pnpm/action-setup/commit/c05d46d6ff1986dc166ad1882c38232d9015676d"><code>c05d46d</code></a> fix: skip saving missing cache directories (<a href="https://redirect.github.com/pnpm/action-setup/issues/294">#294</a>)</li> <li><a href="https://github.com/pnpm/action-setup/commit/343d2b1d953109201381d963395a6b1109cd426a"><code>343d2b1</code></a> Bump GitHub action workflows (<a href="https://redirect.github.com/pnpm/action-setup/issues/223">#223</a>)</li> <li><a href="https://github.com/pnpm/action-setup/commit/9a15f15afbea585970b770f4b919eda8250c56ab"><code>9a15f15</code></a> fix: update pnpm 11 bootstrap to 11.28.10 (<a href="https://redirect.github.com/pnpm/action-setup/issues/292">#292</a>)</li> <li><a href="https://github.com/pnpm/action-setup/commit/7cf8c4cab097056288b0f535a86824dd751082c9"><code>7cf8c4c</code></a> fix: refresh native bootstrap and test shared store reuse (<a href="https://redirect.github.com/pnpm/action-setup/issues/293">#293</a>)</li> <li>See full diff in <a href="https://github.com/pnpm/action-setup/compare/ea17c68df8912ef543352723c149a84f56e3d413...73e46992e05b19abd31f2f3c20e0e7370d762115">compare view</a></li> </ul> </details> <br /> Updates `depot/build-push-action` from 1.18.0 to 1.19.0 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/depot/build-push-action/releases">depot/build-push-action's releases</a>.</em></p> <blockquote> <h2>v1.19.0</h2> <h2>What's Changed</h2> <ul> <li>fix: report quiet build process failures (<a href="https://redirect.github.com/depot/build-push-action/issues/50">#50</a>) <a href="https://github.com/agocharbhatia"><code>@agocharbhatia</code></a></li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/depot/build-push-action/commit/0f27be7c41d76663a98518dfe68f1c46582242c4"><code>0f27be7</code></a> Merge pull request <a href="https://redirect.github.com/depot/build-push-action/issues/50">#50</a> from agocharbhatia/handle-quiet-build-failures</li> <li><a href="https://github.com/depot/build-push-action/commit/b14598cd22e24880b167bd6437b3031612035139"><code>b14598c</code></a> fix: detect quiet build process failures</li> <li>See full diff in <a href="https://github.com/depot/build-push-action/compare/98e78adca7817480b8185f474a400b451d74e287...0f27be7c41d76663a98518dfe68f1c46582242c4">compare view</a></li> </ul> </details> <br /> Updates `actions/create-github-app-token` from 3.3.0 to 3.4.0 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/actions/create-github-app-token/releases">actions/create-github-app-token's releases</a>.</em></p> <blockquote> <h2>v3.4.0</h2> <h2><a href="https://github.com/actions/create-github-app-token/compare/v3.3.0...v3.4.0">3.4.0</a> (2026-11-18)</h2> <h3>Features</h3> <ul> <li>bump actions/setup-node from 6 to 7 (<a href="https://redirect.github.com/actions/create-github-app-token/issues/410">#410</a>) (<a href="https://github.com/actions/create-github-app-token/commit/09c1ab7079f14af5f0d64c9325739c49a8541f56">09c1ab7</a>)</li> <li>bump actions/stale from 10 to 11 (<a href="https://redirect.github.com/actions/create-github-app-token/issues/409">#409</a>) (<a href="https://github.com/actions/create-github-app-token/commit/679345a20e2e07130130e6cf0301b9e897f18cd5">679345a</a>)</li> <li>bump stefanzweifel/git-auto-commit-action from 7.2.0 to 7.2.1 in the github-actions group (<a href="https://redirect.github.com/actions/create-github-app-token/issues/408">#408</a>) (<a href="https://github.com/actions/create-github-app-token/commit/660c44c8ce22207448fbba2730cd2913052c9de3">660c44c</a>)</li> </ul> <h3>Bug Fixes</h3> <ul> <li><strong>deps:</strong> bump undici (<a href="https://redirect.github.com/actions/create-github-app-token/issues/406">#406</a>) (<a href="https://github.com/actions/create-github-app-token/commit/18e9994c8d13ac7c7e2bbcc3355a1a4f31d30de7">18e9994</a>)</li> </ul> <h2>v3.4.0-beta</h2> <h2><a href="https://github.com/actions/create-github-app-token/compare/v3.3.0...v3.4.0-beta">3.4.0-beta</a> (2026-11-17)</h2> <h3>Features</h3> <ul> <li>support GitHub Actions OIDC authentication (<a href="https://redirect.github.com/actions/create-github-app-token/issues/411">#411</a>) (<a href="https://github.com/actions/create-github-app-token/commit/8240f10d3ae05b4d450da83e8e247111a36eaf2c">8240f10</a>)</li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/actions/create-github-app-token/blob/main/CHANGELOG.md">actions/create-github-app-token's changelog</a>.</em></p> <blockquote> <h1>Changelog</h1> <h2><a href="https://github.com/actions/create-github-app-token/compare/v3.3.0...v3.4.0">3.4.0</a> (2026-11-18)</h2> <h3>Features</h3> <ul> <li>bump actions/setup-node from 6 to 7 (<a href="https://redirect.github.com/actions/create-github-app-token/issues/410">#410</a>) (<a href="https://github.com/actions/create-github-app-token/commit/09c1ab7079f14af5f0d64c9325739c49a8541f56">09c1ab7</a>)</li> <li>bump actions/stale from 10 to 11 (<a href="https://redirect.github.com/actions/create-github-app-token/issues/409">#409</a>) (<a href="https://github.com/actions/create-github-app-token/commit/679345a20e2e07130130e6cf0301b9e897f18cd5">679345a</a>)</li> <li>bump stefanzweifel/git-auto-commit-action from 7.2.0 to 7.2.1 in the github-actions group (<a href="https://redirect.github.com/actions/create-github-app-token/issues/408">#408</a>) (<a href="https://github.com/actions/create-github-app-token/commit/660c44c8ce22207448fbba2730cd2913052c9de3">660c44c</a>)</li> </ul> <h3>Bug Fixes</h3> <ul> <li><strong>deps:</strong> bump undici (<a href="https://redirect.github.com/actions/create-github-app-token/issues/406">#406</a>) (<a href="https://github.com/actions/create-github-app-token/commit/18e9994c8d13ac7c7e2bbcc3355a1a4f31d30de7">18e9994</a>)</li> </ul> <h2><a href="https://github.com/actions/create-github-app-token/compare/v3.2.0...v3.3.0">3.3.0</a> (2026-10-12)</h2> <h3>Features</h3> <ul> <li>update permission inputs (<a href="https://redirect.github.com/actions/create-github-app-token/issues/399">#399</a>) (<a href="https://github.com/actions/create-github-app-token/commit/a47236f79f79fcbc3532af49fe3a5ded89529b6e">a47236f</a>)</li> </ul> <h3>Bug Fixes</h3> <ul> <li><strong>deps:</strong> bump nested undici from 6.24.0 to 6.29.0 (<a href="https://redirect.github.com/actions/create-github-app-token/issues/403">#403</a>) (<a href="https://github.com/actions/create-github-app-token/commit/12461a3a794e67c032f1eff5bb95ece9427eb4fb">12461a3</a>)</li> <li><strong>deps:</strong> bump the production-dependencies group across 1 directory with 3 updates (<a href="https://redirect.github.com/actions/create-github-app-token/issues/395">#395</a>) (<a href="https://github.com/actions/create-github-app-token/commit/a69c19ddfdf8e1ab093900e0064524ce9309c807">a69c19d</a>)</li> </ul> <h2><a href="https://github.com/actions/create-github-app-token/compare/v3.1.1...v3.2.0">3.2.0</a> (2026-05-12)</h2> <h3>Features</h3> <ul> <li>add support for enterprise-level GitHub Apps (<a href="https://redirect.github.com/actions/create-github-app-token/issues/263">#263</a>) (<a href="https://github.com/actions/create-github-app-token/commit/952a2a7073df6bfa5f49bc469ec895b6ec1acea4">952a2a7</a>)</li> <li>support full repository names in <code>repositories</code> input (<a href="https://redirect.github.com/actions/create-github-app-token/issues/372">#372</a>) (<a href="https://github.com/actions/create-github-app-token/commit/85eb8dd41472213aed25d1a126460e0069138ab6">85eb8dd</a>)</li> </ul> <h3>Bug Fixes</h3> <ul> <li><strong>deps:</strong> bump <code>@actions/core</code> from 3.0.0 to 3.0.1 in the production-dependencies group (<a href="https://redirect.github.com/actions/create-github-app-token/issues/364">#364</a>) (<a href="https://github.com/actions/create-github-app-token/commit/43e5c345bfd4d4f3ecea019ad0042001a09dd857">43e5c34</a>)</li> <li>validate private-key input (<a href="https://redirect.github.com/actions/create-github-app-token/issues/376">#376</a>) (<a href="https://github.com/actions/create-github-app-token/commit/f24bbd89643991c0de27ae823c01791b2c6bafdd">f24bbd8</a>)</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/actions/create-github-app-token/commit/f418cff399f7aef4c2f0ad47e25ca7a6abbdd6fc"><code>f418cff</code></a> chore(main): release 3.4.0 (<a href="https://redirect.github.com/actions/create-github-app-token/issues/415">#415</a>)</li> <li><a href="https://github.com/actions/create-github-app-token/commit/09c1ab7079f14af5f0d64c9325739c49a8541f56"><code>09c1ab7</code></a> feat: bump actions/setup-node from 6 to 7 (<a href="https://redirect.github.com/actions/create-github-app-token/issues/410">#410</a>)</li> <li><a href="https://github.com/actions/create-github-app-token/commit/01b8009bd6d3d8cce95b612d9793c2b76ef46ee3"><code>01b8009</code></a> test: strip ANSI escape codes from snapshot output (<a href="https://redirect.github.com/actions/create-github-app-token/issues/412">#412</a>)</li> <li><a href="https://github.com/actions/create-github-app-token/commit/e05686484174f08cd73b6c67321c77132a9ace91"><code>e056864</code></a> build(deps-dev): bump undici from 8.12.3 to 8.12.4 (<a href="https://redirect.github.com/actions/create-github-app-token/issues/416">#416</a>)</li> <li><a href="https://github.com/actions/create-github-app-token/commit/679345a20e2e07130130e6cf0301b9e897f18cd5"><code>679345a</code></a> feat: bump actions/stale from 10 to 11 (<a href="https://redirect.github.com/actions/create-github-app-token/issues/409">#409</a>)</li> <li><a href="https://github.com/actions/create-github-app-token/commit/660c44c8ce22207448fbba2730cd2913052c9de3"><code>660c44c</code></a> feat: bump stefanzweifel/git-auto-commit-action from 7.2.0 to 7.2.1 in the gi...</li> <li><a href="https://github.com/actions/create-github-app-token/commit/18e9994c8d13ac7c7e2bbcc3355a1a4f31d30de7"><code>18e9994</code></a> fix(deps): bump undici (<a href="https://redirect.github.com/actions/create-github-app-token/issues/406">#406</a>)</li> <li>See full diff in <a href="https://github.com/actions/create-github-app-token/compare/64ab729a6294000f5aa4a4bc0b73d1f32bc45510...f418cff399f7aef4c2f0ad47e25ca7a6abbdd6fc">compare view</a></li> </ul> </details> <br /> Updates `actions/download-artifact` from 7.0.0 to 8.0.2 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/actions/download-artifact/releases">actions/download-artifact's releases</a>.</em></p> <blockquote> <h2>v8.0.2</h2> <h2>What's Changed</h2> <ul> <li>Update the readme by <a href="https://github.com/danwkennedy"><code>@danwkennedy</code></a> in <a href="https://redirect.github.com/actions/download-artifact/pull/473">actions/download-artifact#473</a></li> <li>Improves artifact download retries when the service returns HTTP 429 (rate limiting), including honoring valid Retry-After headers.</li> <li>Update <code>@actions/artifact</code> to 6.3.1 by <a href="https://github.com/tunc-d"><code>@tunc-d</code></a> in <a href="https://redirect.github.com/actions/download-artifact/pull/492">actions/download-artifact#492</a></li> <li>Prepare download-artifact v8.0.2 by <a href="https://github.com/tunc-d"><code>@tunc-d</code></a> in <a href="https://redirect.github.com/actions/download-artifact/pull/493">actions/download-artifact#493</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/tunc-d"><code>@tunc-d</code></a> made their first contribution in <a href="https://redirect.github.com/actions/download-artifact/pull/492">actions/download-artifact#492</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/actions/download-artifact/compare/v8.0.1...v8.0.2">https://github.com/actions/download-artifact/compare/v8.0.1...v8.0.2</a></p> <h2>v8.0.1</h2> <h2>What's Changed</h2> <ul> <li>Support for CJK characters in the artifact name by <a href="https://github.com/danwkennedy"><code>@danwkennedy</code></a> in <a href="https://redirect.github.com/actions/download-artifact/pull/471">actions/download-artifact#471</a></li> <li>Add a regression test for artifact name + content-type mismatches by <a href="https://github.com/danwkennedy"><code>@danwkennedy</code></a> in <a href="https://redirect.github.com/actions/download-artifact/pull/472">actions/download-artifact#472</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/actions/download-artifact/compare/v8...v8.0.1">https://github.com/actions/download-artifact/compare/v8...v8.0.1</a></p> <h2>v8.0.0</h2> <h2>v8 - What's new</h2> <blockquote> <p>[!IMPORTANT] actions/download-artifact@v8 has been migrated to an ESM module. This should be transparent to the caller but forks might need to make significant changes.</p> </blockquote> <blockquote> <p>[!IMPORTANT] Hash mismatches will now error by default. Users can override this behavior with a setting change (see below).</p> </blockquote> <h3>Direct downloads</h3> <p>To support direct uploads in <code>actions/upload-artifact</code>, the action will no longer attempt to unzip all downloaded files. Instead, the action checks the <code>Content-Type</code> header ahead of unzipping and skips non-zipped files. Callers wishing to download a zipped file as-is can also set the new <code>skip-decompress</code> parameter to <code>true</code>.</p> <h3>Enforced checks (breaking)</h3> <p>A previous release introduced digest checks on the download. If a download hash didn't match the expected hash from the server, the action would log a warning. Callers can now configure the behavior on mismatch with the <code>digest-mismatch</code> parameter. To be secure by default, we are now defaulting the behavior to <code>error</code> which will fail the workflow run.</p> <h3>ESM</h3> <p>To support new versions of the @actions/* packages, we've upgraded the package to ESM.</p> <h2>What's Changed</h2> <ul> <li>Don't attempt to un-zip non-zipped downloads by <a href="https://github.com/danwkennedy"><code>@danwkennedy</code></a> in <a href="https://redirect.github.com/actions/download-artifact/pull/460">actions/download-artifact#460</a></li> <li>Add a setting to specify what to do on hash mismatch and default it to <code>error</code> by <a href="https://github.com/danwkennedy"><code>@danwkennedy</code></a> in <a href="https://redirect.github.com/actions/download-artifact/pull/461">actions/download-artifact#461</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/actions/download-artifact/compare/v7...v8.0.0">https://github.com/actions/download-artifact/compare/v7...v8.0.0</a></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/actions/download-artifact/commit/9000827ccba6bdab643e8b6fd33ac0654aef8333"><code>9000827</code></a> Merge pull request <a href="https://redirect.github.com/actions/download-artifact/issues/493">#493</a> from actions/tunc-d-prepare-download-v8-0-2</li> <li><a href="https://github.com/actions/download-artifact/commit/e455989ae00f5bdd4054f05d3e972c6bf8a62dc5"><code>e455989</code></a> Prepare download-artifact v8.0.2</li> <li><a href="https://github.com/actions/download-artifact/commit/a00b90c4a2f01d73a8c89552caabca6ea3b43137"><code>a00b90c</code></a> Merge pull request <a href="https://redirect.github.com/actions/download-artifact/issues/492">#492</a> from actions/tunc-d-download-artifact-package-bump</li> <li><a href="https://github.com/actions/download-artifact/commit/29bb7ce6af5345aeab5bb4774ce7249ee3ccc27f"><code>29bb7ce</code></a> Update <code>@actions/artifact</code> to 6.3.1</li> <li><a href="https://github.com/actions/download-artifact/commit/484a0b528fb4d7bd804637ccb632e47a0e638317"><code>484a0b5</code></a> Update the readme (<a href="https://redirect.github.com/actions/download-artifact/issues/473">#473</a>)</li> <li><a href="https://github.com/actions/download-artifact/commit/3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c"><code>3e5f45b</code></a> Add regression tests for CJK characters (<a href="https://redirect.github.com/actions/download-artifact/issues/471">#471</a>)</li> <li><a href="https://github.com/actions/download-artifact/commit/e6d03f67377d4412c7aa56a8e2e4988e6ec479dd"><code>e6d03f6</code></a> Add a regression test for artifact name + content-type mismatches (<a href="https://redirect.github.com/actions/download-artifact/issues/472">#472</a>)</li> <li><a href="https://github.com/actions/download-artifact/commit/70fc10c6e5e1ce46ad2ea6f2b72d43f7d47b13c3"><code>70fc10c</code></a> Merge pull request <a href="https://redirect.github.com/actions/download-artifact/issues/461">#461</a> from actions/danwkennedy/digest-mismatch-behavior</li> <li><a href="https://github.com/actions/download-artifact/commit/f258da9a506b755b84a09a531814700b86ccfc62"><code>f258da9</code></a> Add change docs</li> <li><a href="https://github.com/actions/download-artifact/commit/ccc058e5fbb0bb2352213eaec3491e117cbc4a5c"><code>ccc058e</code></a> Fix linting issues</li> <li>Additional commits viewable in <a href="https://github.com/actions/download-artifact/compare/v7...9000827ccba6bdab643e8b6fd33ac0654aef8333">compare view</a></li> </ul> </details> <br /> Updates `astral-sh/setup-uv` from 10.3.0 to 10.4.0 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/astral-sh/setup-uv/releases">astral-sh/setup-uv's releases</a>.</em></p> <blockquote> <h2>v10.4.0 🌈 New input <code>require-checksums</code> and bug fixing</h2> <h2>Changes</h2> <p>This release adds the new input <code>require-checksums</code>. Its <code>false</code> by default and when you enable it, it will fail the action when no checksum is known for a release. This can happen when you use <code>version: latest</code> and the version of <code>astral-sh/setup-uv</code> that you are running does not bundle the known checksum for the uv version just released. In that case you can always supply the checksum yourself using the <code>checksum</code> input.</p> <p>It is also a second layer of defense when using <code>version: latest-known</code></p> <hr /> <p>Special thanks to <a href="https://github.com/yamamoto7"><code>@yamamoto7</code></a> that fixed using PEP440 specifiers in the <code>version</code> and <a href="https://github.com/zsol"><code>@zsol</code></a> for fixing <code>cache-python: true</code> on Windows runners.</p> <h2>🐛 Bug fixes</h2> <ul> <li>fix: resolve partial PEP 440 specifiers with PEP 440 semantics <a href="https://github.com/yamamoto7"><code>@yamamoto7</code></a> (<a href="https://redirect.github.com/astral-sh/setup-uv/issues/1128">#1128</a>)</li> <li>Repair cached Python directory junctions on Windows <a href="https://github.com/zsol"><code>@zsol</code></a> (<a href="https://redirect.github.com/astral-sh/setup-uv/issues/1122">#1122</a>)</li> </ul> <h2>🚀 Enhancements</h2> <ul> <li>Add the <code>require-checksums</code> input <a href="https://github.com/woodruffw"><code>@woodruffw</code></a> (<a href="https://redirect.github.com/astral-sh/setup-uv/issues/1139">#1139</a>)</li> </ul> <h2>🧰 Maintenance</h2> <ul> <li>chore: update known checksums for 0.13.9 @<a href="https://github.com/apps/github-actions">github-actions[bot]</a> (<a href="https://redirect.github.com/astral-sh/setup-uv/issues/1147">#1147</a>)</li> <li>Update CI Node.js to 24.22.1 for the eMudhra fix <a href="https://github.com/woodruffw"><code>@woodruffw</code></a> (<a href="https://redirect.github.com/astral-sh/setup-uv/issues/1146">#1146</a>)</li> <li>Pin astral-sh/github-actions to 2026.11.16.0 <a href="https://github.com/woodruffw"><code>@woodruffw</code></a> (<a href="https://redirect.github.com/astral-sh/setup-uv/issues/1145">#1145</a>)</li> <li>chore: update known checksums for 0.13.8 @<a href="https://github.com/apps/github-actions">github-actions[bot]</a> (<a href="https://redirect.github.com/astral-sh/setup-uv/issues/1131">#1131</a>)</li> <li>Fix workflow tests after ubuntu-latest switch to 26.04 <a href="https://github.com/eifinger"><code>@eifinger</code></a> (<a href="https://redirect.github.com/astral-sh/setup-uv/issues/1129">#1129</a>)</li> <li>Run demudhra first on macOS <a href="https://github.com/woodruffw"><code>@woodruffw</code></a> (<a href="https://redirect.github.com/astral-sh/setup-uv/issues/1125">#1125</a>)</li> <li>chore: update known checksums for 0.13.7 @<a href="https://github.com/apps/github-actions">github-actions[bot]</a> (<a href="https://redirect.github.com/astral-sh/setup-uv/issues/1124">#1124</a>)</li> </ul> <h2>📚 Documentation</h2> <ul> <li>docs: update version references to v10.3.3 @<a href="https://github.com/apps/github-actions">github-actions[bot]</a> (<a href="https://redirect.github.com/astral-sh/setup-uv/issues/1120">#1120</a>)</li> </ul> <h2>⬆️ Dependency updates</h2> <ul> <li>chore(deps): bump zizmorcore/zizmor-action from 0.6.4 to 0.7.1 @<a href="https://github.com/apps/dependabot">dependabot[bot]</a> (<a href="https://redirect.github.com/astral-sh/setup-uv/issues/1144">#1144</a>)</li> <li>chore(deps): roll up Dependabot dependency updates <a href="https://github.com/eifinger"><code>@eifinger</code></a> (<a href="https://redirect.github.com/astral-sh/setup-uv/issues/1130">#1130</a>)</li> <li>chore(deps): bump release-drafter/release-drafter from 7.7.0 to 7.9.0 @<a href="https://github.com/apps/dependabot">dependabot[bot]</a> (<a href="https://redirect.github.com/astral-sh/setup-uv/issues/1121">#1121</a>)</li> </ul> <h2>v10.3.3 🌈 Use Astral mirror for version manifests with GitHub fallback</h2> <h2>Changes</h2> <p>This release contains something that should have been included a very long time ago. Sorry for sleeping on that.</p> <p>This action now retrieves the release manifest that contains the available versions, their download links and checksums from the Astral mirror, rather than trying GitHub first. This should present much more stable. (Known checksums are still checked, so the security impact does not change)</p> <p>Also a big thank you to <a href="https://github.com/soujasK"><code>@soujasK</code></a> for a set of bugfixes 👏</p> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/astral-sh/setup-uv/commit/1db35dd8eee11c5894872e0b383ae6c406cf738d"><code>1db35dd</code></a> chore: update known checksums for 0.13.9 (<a href="https://redirect.github.com/astral-sh/setup-uv/issues/1147">#1147</a>)</li> <li><a href="https://github.com/astral-sh/setup-uv/commit/b0fdc328c65964c12e997446c1c75b18577b9f1a"><code>b0fdc32</code></a> Update CI Node.js to 24.22.1 for the eMudhra fix (<a href="https://redirect.github.com/astral-sh/setup-uv/issues/1146">#1146</a>)</li> <li><a href="https://github.com/astral-sh/setup-uv/commit/de938e707d6c238b34e29b5770a011e3155e2a3c"><code>de938e7</code></a> Add the <code>require-checksums</code> input (<a href="https://redirect.github.com/astral-sh/setup-uv/issues/1139">#1139</a>)</li> <li><a href="https://github.com/astral-sh/setup-uv/commit/fc0acc2d6f3ebbe375e86ac365172fe5bcf926a4"><code>fc0acc2</code></a> Pin astral-sh/github-actions to 2026.11.16.0 (<a href="https://redirect.github.com/astral-sh/setup-uv/issues/1145">#1145</a>)</li> <li><a href="https://github.com/astral-sh/setup-uv/commit/17e0973e660f96e80ee1c1b479ad9464a56d346c"><code>17e0973</code></a> chore(deps): bump zizmorcore/zizmor-action from 0.6.4 to 0.7.1 (<a href="https://redirect.github.com/astral-sh/setup-uv/issues/1144">#1144</a>)</li> <li><a href="https://github.com/astral-sh/setup-uv/commit/963ce8fe9e4fb39553bd07a010f5e986c4dcff9d"><code>963ce8f</code></a> chore: update known checksums for 0.13.8 (<a href="https://redirect.github.com/astral-sh/setup-uv/issues/1131">#1131</a>)</li> <li><a href="https://github.com/astral-sh/setup-uv/commit/5e83ccf689000bf635d77af2cdbad36ca1397375"><code>5e83ccf</code></a> chore(deps): roll up Dependabot dependency updates (<a href="https://redirect.github.com/astral-sh/setup-uv/issues/1130">#1130</a>)</li> <li><a href="https://github.com/astral-sh/setup-uv/commit/898180d41d2947dacf2409060a43f19895a4c95a"><code>898180d</code></a> fix: resolve partial PEP 440 specifiers with PEP 440 semantics (<a href="https://redirect.github.com/astral-sh/setup-uv/issues/1128">#1128</a>)</li> <li><a href="https://github.com/astral-sh/setup-uv/commit/bd4d5efd86ffcc60e217645fd6b405a4d0d1ee13"><code>bd4d5ef</code></a> Fix workflow tests after ubuntu-latest switch to 26.04 (<a href="https://redirect.github.com/astral-sh/setup-uv/issues/1129">#1129</a>)</li> <li><a href="https://github.com/astral-sh/setup-uv/commit/0a73d6eb01c0201c8fc84847d0f4425b704ad66d"><code>0a73d6e</code></a> chore(deps): bump release-drafter/release-drafter from 7.7.0 to 7.9.0 (<a href="https://redirect.github.com/astral-sh/setup-uv/issues/1121">#1121</a>)</li> <li>Additional commits viewable in <a href="https://github.com/astral-sh/setup-uv/compare/1c37ad07a6a961277cf70c0d37d6f313000f5884...1db35dd8eee11c5894872e0b383ae6c406cf738d">compare view</a></li> </ul> </details> <br /> Updates `linear/linear-release-action` from 0.18.1 to 0.18.2 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/linear/linear-release-action/releases">linear/linear-release-action's releases</a>.</em></p> <blockquote> <h2>v0.18.2</h2> <h2>What's Changed</h2> <ul> <li>Use organization-wide security policy by <a href="https://github.com/itsmingjie"><code>@itsmingjie</code></a> in <a href="https://redirect.github.com/linear/linear-release-action/pull/75">linear/linear-release-action#75</a></li> <li>Prevent release metadata from injecting GitHub Actions outputs by <a href="https://github.com/axelniklasson"><code>@axelniklasson</code></a> in <a href="https://redirect.github.com/linear/linear-release-action/pull/76">linear/linear-release-action#76</a></li> <li>Release v0.18.2 by <a href="https://github.com/axelniklasson"><code>@axelniklasson</code></a> in <a href="https://redirect.github.com/linear/linear-release-action/pull/77">linear/linear-release-action#77</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/itsmingjie"><code>@itsmingjie</code></a> made their first contribution in <a href="https://redirect.github.com/linear/linear-release-action/pull/75">linear/linear-release-action#75</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/linear/linear-release-action/compare/v0.18.1...v0.18.2">https://github.com/linear/linear-release-action/compare/v0.18.1...v0.18.2</a></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/linear/linear-release-action/commit/dd4fc407f860b9460d2cf0b3fb1edd8985cf443f"><code>dd4fc40</code></a> Release v0.18.2 (<a href="https://redirect.github.com/linear/linear-release-action/issues/77">#77</a>)</li> <li><a href="https://github.com/linear/linear-release-action/commit/13f64cfb1f36b73aa24a921112b31a76cbcdf6f6"><code>13f64cf</code></a> Prevent release metadata from injecting GitHub Actions outputs (<a href="https://redirect.github.com/linear/linear-release-action/issues/76">#76</a>)</li> <li><a href="https://github.com/linear/linear-release-action/commit/5725135c745d81ea3731300a3e3bd86d47561e96"><code>5725135</code></a> Use organization-wide security policy (<a href="https://redirect.github.com/linear/linear-release-action/issues/75">#75</a>)</li> <li>See full diff in <a href="https://github.com/linear/linear-release-action/compare/30f9ae77461ec29f07fffe0c52edd1909bfbb6f5...dd4fc407f860b9460d2cf0b3fb1edd8985cf443f">compare view</a></li> </ul> </details> <br /> Updates `toshimaru/auto-author-assign` from 3.1.0 to 3.1.1 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/toshimaru/auto-author-assign/releases">toshimaru/auto-author-assign's releases</a>.</em></p> <blockquote> <h2>v3.1.1</h2> <h2><a href="https://github.com/toshimaru/auto-author-assign/compare/v3.1.0...v3.1.1">3.1.1</a> (2026-11-01)</h2> <!-- raw HTML omitted --> <h2>What's Changed</h2> <ul> <li>ci: Lock gh-action dependencies by <a href="https://github.com/toshimaru"><code>@toshimaru</code></a> in <a href="https://redirect.github.com/toshimaru/auto-author-assign/pull/213">toshimaru/auto-author-assign#213</a></li> </ul> <h3>Dependencies</h3> <ul> <li>build(deps-dev): bump rollup from 4.62.4 to 4.63.1 by <a href="https://github.com/dependabot"><code>@dependabot</code></a>[bot] in <a href="https://redirect.github.com/toshimaru/auto-author-assign/pull/195">toshimaru/auto-author-assign#195</a></li> <li>build(deps-dev): bump rollup from 4.63.1 to 4.64.1 by <a href="https://github.com/dependabot"><code>@dependabot</code></a>[bot] in <a href="https://redirect.github.com/toshimaru/auto-author-assign/pull/205">toshimaru/auto-author-assign#205</a></li> <li>build(deps): bump undici from 6.28.0 to 6.29.1 by <a href="https://github.com/dependabot"><code>@dependabot</code></a>[bot] in <a href="https://redirect.github.com/toshimaru/auto-author-assign/pull/210">toshimaru/auto-author-assign#210</a></li> <li>build(deps-dev): bump rollup from 4.64.1 to 4.65.0 by <a href="https://github.com/dependabot"><code>@dependabot</code></a>[bot] in <a href="https://redirect.github.com/toshimaru/auto-author-assign/pull/208">toshimaru/auto-author-assign#208</a></li> <li>build(deps-dev): bump rollup from 4.65.0 to 4.65.1 by <a href="https://github.com/dependabot"><code>@dependabot</code></a>[bot] in <a href="https://redirect.github.com/toshimaru/auto-author-assign/pull/212">toshimaru/auto-author-assign#212</a></li> <li>build(deps): ignore standalone Rollup Linux binary updates by <a href="https://github.com/toshimaru"><code>@toshimaru</code></a> in <a href="https://redirect.github.com/toshimaru/auto-author-assign/pull/211">toshimaru/auto-author-assign#211</a></li> </ul> <h3>Others</h3> <ul> <li>chore(main): release 3.1.1 by <a href="https://github.com/github-actions"><code>@github-actions</code></a>[bot] in <a href="https://redirect.github.com/toshimaru/auto-author-assign/pull/214">toshimaru/auto-author-assign#214</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/toshimaru/auto-author-assign/compare/v3.1.0...v3.1.1">https://github.com/toshimaru/auto-author-assign/compare/v3.1.0...v3.1.1</a></p> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/toshimaru/auto-author-assign/blob/main/CHANGELOG.md">toshimaru/auto-author-assign's changelog</a>.</em></p> <blockquote> <h1>Changelog</h1> <h2><a href="https://github.com/toshimaru/auto-author-assign/compare/v3.1.0...v3.1.1">3.1.1</a> (2026-11-01)</h2> <h3>Miscellaneous Chores</h3> <ul> <li>release 3.1.1 (<a href="https://github.com/toshimaru/auto-author-assign/commit/4b76b30e0c1a22289253a8ace44e3d97e7e586b6">4b76b30</a>)</li> </ul> <h2><a href="https://github.com/toshimaru/auto-author-assign/compare/v3.0.3...v3.1.0">3.1.0</a> (2026-08-12)</h2> <h3>Features</h3> <ul> <li>add support to skip users (see <a href="https://redirect.github.com/toshimaru/auto-author-assign/issues/185">#185</a> and <a href="https://redirect.github.com/toshimaru/auto-author-assign/issues/191">#191</a>) (<a href="https://github.com/toshimaru/auto-author-assign/commit/c323db629e2e295b2c8ebe87d47bb2c961ef87ae">c323db6</a>)</li> </ul> <h3>Bug Fixes</h3> <ul> <li>parse skip-users as comma or newline-separated list (<a href="https://github.com/toshimaru/auto-author-assign/commit/9db2a78bf35000232ae3b800c3dd021300887393">9db2a78</a>)</li> </ul> <h2><a href="https://github.com/toshimaru/auto-author-assign/compare/v3.0.2...v3.0.3">3.0.3</a> (2026-06-15)</h2> <h3>Miscellaneous Chores</h3> <ul> <li>release 3.0.3 (<a href="https://github.com/toshimaru/auto-author-assign/commit/8f813140fc4dbdfcc4a43f89d97033b5988e3773">8f81314</a>)</li> </ul> <h2><a href="https://github.com/toshimaru/auto-author-assign/compare/v3.0.1...v3.0.2">3.0.2</a> (2026-04-27)</h2> <h3>Miscellaneous Chores</h3> <ul> <li>release 3.0.2 (<a href="https://github.com/toshimaru/auto-author-assign/commit/658b95bf703955e926268fcaca1124037270bea8">658b95b</a>)</li> <li>release 3.0.2 (<a href="https://github.com/toshimaru/auto-author-assign/commit/ca59fc3261247bab40337927fac848bf2a60863f">ca59fc3</a>)</li> </ul> <h2><a href="https://github.com/toshimaru/auto-author-assign/compare/v3.0.0...v3.0.1">3.0.1</a> (2025-12-25)</h2> <h3>Miscellaneous Chores</h3> <ul> <li>release 3.0.1 (<a href="https://github.com/toshimaru/auto-author-assign/commit/718d4ed5349747d47952ae841ae03fcbdd74ebea">718d4ed</a>)</li> </ul> <h2><a href="https://github.com/toshimaru/auto-author-assign/compare/v2.1.2...v3.0.0">3.0.0</a> (2025-12-21)</h2> <h3>Features</h3> <ul> <li>Add <code>npm run package</code> instead of <code>build</code> (<a href="https://redirect.github.com/toshimaru/auto-author-assign/issues/130">#130</a>) (<a href="https://github.com/toshimaru/auto-author-assign/commit/972720f0403d2873e807f16e350c5b0b1be4dda3">972720f</a>)</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/toshimaru/auto-author-assign/commit/415448809ea5ba0e171b251632720b009df3d8d6"><code>4154488</code></a> chore(main): release 3.1.1 (<a href="https://redirect.github.com/toshimaru/auto-author-assign/issues/214">#214</a>)</li> <li><a href="https://github.com/toshimaru/auto-author-assign/commit/4b76b30e0c1a22289253a8ace44e3d97e7e586b6"><code>4b76b30</code></a> chore: release 3.1.1</li> <li><a href="https://github.com/toshimaru/auto-author-assign/commit/b48d71e8202018ddbb92c763c7dc556908f2738b"><code>b48d71e</code></a> ci: Lock gh-action dependencies (<a href="https://redirect.github.com/toshimaru/auto-author-assign/issues/213">#213</a>)</li> <li><a href="https://github.com/toshimaru/auto-author-assign/commit/265eb9ea47f14aac2ec501d7e40da61b2428e48b"><code>265eb9e</code></a> build(deps-dev): bump rollup from 4.65.0 to 4.65.1 (<a href="https://redirect.github.com/toshimaru/auto-author-assign/issues/212">#212</a>)</li> <li><a href="https://github.com/toshimaru/auto-author-assign/commit/1de6e4712d694904783cd478ba01086d11eb1b34"><code>1de6e47</code></a> build(deps): ignore standalone Rollup Linux binary updates (<a href="https://redirect.github.com/toshimaru/auto-author-assign/issues/211">#211</a>)</li> <li><a href="https://github.com/toshimaru/auto-author-assign/commit/a698c510781167c2e2928763aca8b211c35f5f25"><code>a698c51</code></a> build(deps-dev): bump rollup from 4.64.1 to 4.65.0 (<a href="https://redirect.github.com/toshimaru/auto-author-assign/issues/208">#208</a>)</li> <li><a href="https://github.com/toshimaru/auto-author-assign/commit/5a9b6761f443ddf51c2a29b369c5ca0508751994"><code>5a9b676</code></a> build(deps): bump undici from 6.28.0 to 6.29.1 (<a href="https://redirect.github.com/toshimaru/auto-author-assign/issues/210">#210</a>)</li> <li><a href="https://github.com/toshimaru/auto-author-assign/commit/5287094cfc00243749d1a0d45e7b93cc56cc3feb"><code>5287094</code></a> build(deps-dev): bump rollup from 4.63.1 to 4.64.1 (<a href="https://redirect.github.com/toshimaru/auto-author-assign/issues/205">#205</a>)</li> <li><a href="https://github.com/toshimaru/auto-author-assign/commit/6777e6c2a2e817abbc19dabe9e1b749e01536a72"><code>6777e6c</code></a> build(deps-dev): bump rollup from 4.62.4 to 4.63.1 (<a href="https://redirect.github.com/toshimaru/auto-author-assign/issues/195">#195</a>)</li> <li>See full diff in <a href="https://github.com/toshimaru/auto-author-assign/compare/a78a94b219445cece8ccf0d45fec60af449f212a...415448809ea5ba0e171b251632720b009df3d8d6">compare view</a></li> </ul> </details> <br /> Updates `ossf/scorecard-action` from 2.5.0 to 2.6.0 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/ossf/scorecard-action/releases">ossf/scorecard-action's releases</a>.</em></p> <blockquote> <h2>v2.6.0</h2> <p>This release moves the action to Scorecard v5.7.0, built with Go 1.27.4. For changes to checks and results, and the security fixes in this Scorecard release, see the <a href="https://github.com/ossf/scorecard/releases/tag/v5.7.0">Scorecard v5.7.0 release notes</a>.</p> <h2>Getting started</h2> <p>This is the first release with ready-to-use workflows in this repository. To add Scorecard to a repository, copy one into <code>.github/workflows/scorecard.yml</code>:</p> <ul> <li><a href="https://github.com/ossf/scorecard-action/blob/main/examples/scorecard.yml"><code>examples/scorecard.yml</code></a> for public repositories. It publishes results to the Scorecard API, which enables the badge and the REST API, and fails the step if the API rejects them.</li> <li><a href="https://github.com/ossf/scorecard-action/blob/main/examples/scorecard-private.yml"><code>examples/scorecard-private.yml</code></a> for private repositories. It doesn't publish.</li> </ul> <p>Both pin every action to a full commit SHA, set <code>cache-mode: none</code>, and upload results even when an earlier step fails. CI lints them with zizmor, actionlint and yamllint. If your linter reports <code>cache-mode</code> as unknown, see <a href="https://github.com/ossf/scorecard-action#workflow-linters">Workflow Linters</a>.</p> <p>Copy the examples from <code>main</code>, which pins this release. A tagged commit can't pin its own SHA, so the copies at the <code>v2.6.0</code> tag still name v2.5.0.</p> <p>To add the workflow to many repositories at once, the installer opens a pull request in each one. See <a href="https://github.com/ossf/scorecard-action/blob/main/docs/installer.md"><code>docs/installer.md</code></a>.</p> <h2>What's Changed</h2> <ul> <li>New <code>fail_on_publish_error</code> input (default <code>false</code>): when set, the step fails if the Scorecard API rejects the results. Network errors and HTTP 408, 429 and 5xx stay warnings. New outputs <code>results_published</code> and <code>publication_status</code> report whether publishing worked, and the job summary says so. A rejected (4xx) publish is now sent once instead of three times, and the publish error and warning show as annotations. by <a href="https://github.com/justaugustus"><code>@justaugustus</code></a> in <a href="https://redirect.github.com/ossf/scorecard-action/pull/1721">ossf/scorecard-action#1721</a></li> <li>Example workflows for public and private repositories in <code>examples/</code>, with every action pinned to a full SHA. by <a href="https://github.com/justaugustus"><code>@justaugustus</code></a> in <a href="https://redirect.github.com/ossf/scorecard-action/pull/1722">ossf/scorecard-action#1722</a></li> <li>The examples set <code>cache-mode: none</code> and upload results even when an earlier step fails. The README's new Workflow Linters section lists which linter versions recognize <code>cache-mode</code>. by <a href="https://github.com/justaugustus"><code>@justaugustus</code></a> in <a href="https://redirect.github.com/ossf/scorecard-action/pull/1727">ossf/scorecard-action#1727</a></li> <li>The installer (<code>cmd/installer</code>) adds the generated example workflow with the repository's default branch, and no longer needs a starter-workflows checkout. Usage is in <code>docs/installer.md</code>. by <a href="https://github.com/justaugustus"><code>@justaugustus</code></a> in <a href="https://redirect.github.com/ossf/scorecard-action/pull/1728">ossf/scorecard-action#1728</a></li> </ul> <h3>Other</h3> <ul> <li>Point getting started at the v2.6.0 example workflows by <a href="https://github.com/justaugustus"><code>@justaugustus</code></a> in <a href="https://redirect.github.com/ossf/scorecard-action/pull/1750">ossf/scorecard-action#1750</a></li> <li>Lint the example workflows in CI by <a href="https://github.com/justaugustus"><code>@justaugustus</code></a> in <a href="https://redirect.github.com/ossf/scorecard-action/pull/1724">ossf/scorecard-action#1724</a></li> <li>Move CI to golangci-lint v2 by <a href="https://github.com/justaugustus"><code>@justaugustus</code></a> in <a href="https://redirect.github.com/ossf/scorecard-action/pull/1725">ossf/scorecard-action#1725</a></li> <li>Read <code>publish_results</code> into the options struct by <a href="https://github.com/arpitjain099"><code>@arpitjain099</code></a> in <a href="https://redirect.github.com/ossf/scorecard-action/pull/1731">ossf/scorecard-action#1731</a></li> <li>Bump Scorecard to main ahead of v5.7.0 by <a href="https://github.com/justaugustus"><code>@justaugustus</code></a> in <a href="https://redirect.github.com/ossf/scorecard-action/pull/1744">ossf/scorecard-action#1744</a></li> <li>Bump Scorecard to v5.7.0 by <a href="https://github.com/justaugustus"><code>@justaugustus</code></a> in <a href="https://redirect.github.com/ossf/scorecard-action/pull/1746">ossf/scorecard-action#1746</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/ossf/scorecard-action/compare/v2.5.0...v2.6.0">https://github.com/ossf/scorecard-action/compare/v2.5.0...v2.6.0</a></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/ossf/scorecard-action/commit/23f22cd43608bae7a1f1fa2603d7314dee9538a5"><code>23f22cd</code></a> 🌱 Bump action tag for v2.6.0 release (<a href="https://redirect.github.com/ossf/scorecard-action/issues/1749">#1749</a>)</li> <li><a href="https://github.com/ossf/scorecard-action/commit/9f58c4b147d93c196c685003421ceaccb20b3cca"><code>9f58c4b</code></a> 🌱 Bump the github-actions group across 2 directories with 8 updates ...</li> <li><a href="https://github.com/ossf/scorecard-action/commit/a591f5fb7d80b120d400391e23f321409b4076ec"><code>a591f5f</code></a> 🌱 Bump distroless/base (<a href="https://redirect.github.com/ossf/scorecard-action/issues/1745">#1745</a>)</li> <li><a href="https://github.com/ossf/scorecard-action/commit/c0591f84453160d264c0611724c74576b559f0f0"><code>c0591f8</code></a> Read <code>publish_results</code> into the options struct (<a href="https://redirect.github.com/ossf/scorecard-action/issues/1731">#1731</a>)</li> <li><a href="https://github.com/ossf/scorecard-action/commit/8e358b3126ddf0606f2dbbd329d899ea2f4d1057"><code>8e358b3</code></a> 🌱 Bump scorecard to v5.7.0 (<a href="https://redirect.github.com/ossf/scorecard-action/issues/1746">#1746</a>)</li> <li><a href="https://github.com/ossf/scorecard-action/commit/f0165b973754ee67012be27c6377332f37d70593"><code>f0165b9</code></a> 🌱 Bump github.com/go-chi/chi/v5 from 5.3.0 to 5.4.0 (<a href="https://redirect.github.com/ossf/scorecard-action/issues/1735">#1735</a>)</li> <li><a href="https://github.com/ossf/scorecard-action/commit/7a8b5105514aa13d235260d84fd6f86d7bd676fc"><code>7a8b510</code></a> 🌱 Bump scorecard to main ahead of v5.7.0 (<a href="https://redirect.github.com/ossf/scorecard-action/issues/1744">#1744</a>)</li> <li><a href="https://github.com/ossf/scorecard-action/commit/3e931c8cb6ae3ef28804a82c1e76ce290610138f"><code>3e931c8</code></a> 🌱 Bump the github-actions group across 1 directory with 7 updates (#...</li> <li><a href="https://github.com/ossf/scorecard-action/commit/365df9f035d4b5177b9cd57330f8c3dfa6134420"><code>365df9f</code></a> 🌱 Bump the github-actions group across 1 directory with 3 updates (#...</li> <li><a href="https://github.com/ossf/scorecard-action/commit/e04b7a8834a20c992877a013b009ffcb00692f56"><code>e04b7a8</code></a> ✨ Install the generated workflow from the installer (<a href="https://redirect.github.com/ossf/scorecard-action/issues/1728">#1728</a>)</li> <li>Additional commits viewable in <a href="https://github.com/ossf/scorecard-action/compare/fa7117db83c52d787ae5a89f350999701505d78e...23f22cd43608bae7a1f1fa2603d7314dee9538a5">compare view</a></li> </ul> </details> <br /> Updates `github/codeql-action/upload-sarif` from 4.39.0 to 4.39.4 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/github/codeql-action/releases">github/codeql-action/upload-sarif's releases</a>.</em></p> <blockquote> <h2>v4.39.4</h2> <ul> <li>Update default CodeQL bundle version to <a href="https://github.com/github/codeql-action/releases/tag/codeql-bundle-v2.27.5">2.27.5</a>. <a href="https://redirect.github.com/github/codeql-action/pull/4333">#4333</a></li> </ul> <h2>v4.39.3</h2> <ul> <li>Fixed diff-informed alert filtering incorrectly removing alerts in changed files whose paths contain spaces, special characters, or non-ASCII characters. <a href="https://redirect.github.com/github/codeql-action/pull/4283">#4283</a></li> </ul> <h2>v4.39.2</h2> <ul> <li>Update default CodeQL bundle version to <a href="https://github.com/github/codeql-action/releases/tag/codeql-bundle-v2.27.4">2.27.4</a>. <a href="https://redirect.github.com/github/codeql-action/pull/4284">#4284</a></li> <li><em>Upcoming breaking change</em>: CodeQL version 2.22.3 and earlier were discontinued on 16 October 2026 alongside GitHub Enterprise Server 3.18, and will be unsupported by the next minor release of the CodeQL Action. Added a deprecation warning for customers using these versions of CodeQL. <a href="https://redirect.github.com/github/codeql-action/pull/4266">#4266</a></li> <li>Starting with macOS 27 and Xcode 27, traced analyses are unsupported. See <a href="https://github.blog/changelog/2026-10-19-codeql-changes-for-macos-27-xcode-27-and-swift-6-4/">this blog post for more information</a>. The CodeQL Action will now try to identify if a workflow is about to perform a traced analysis on version 27 or above of macOS or Xcode. If so, the CodeQL Action will emit a corresponding warning that will also be visible on the <a href="https://docs.github.com/en/code-security/how-tos/find-and-fix-code-vulnerabilities/manage-your-configuration/use-the-tools-status-page-for-code-scanning">Tool Status Page</a>. This check will be rolled out following this release of the CodeQL Action. <a href="https://redirect.github.com/github/codeql-action/pull/4221">#4221</a></li> <li>The undocumented TRAP cache cleanup feature that could be enabled using the <code>CODEQ... _Description has been truncated_ Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> |
||
|
|
5dfa3a287e |
ci: fix multi-arch image build in release workflow (#32724)
Fixes the Linux image build step in the release workflow, which failed while building the second architecture. Each architecture is now built on its own base image manifest. |
||
|
|
34c8bda1a8 |
ci: use backport app token in cherry-pick workflow (#32803)
The cherry-pick workflow can no longer open PRs. Since coder/github-org-terraform#76 (Nov 17), the org disables "Allow GitHub Actions to create and approve pull requests", so `gh pr create` with `GITHUB_TOKEN` fails: ``` GraphQL: GitHub Actions is not permitted to create or approve pull requests (createPullRequest) ``` Example: [run 45991857596](https://github.com/coder/coder/actions/runs/45991857596/job/140481380335) for #32793. That run had already pushed `backport/32793-to-<version>`, and because the workflow exits as soon as the branch exists, re-running it can't open the PR. `backport.yaml` already opens its PRs with the backporter App token (#32352). This brings `cherry-pick.yaml` in line with it. **App token** - Runs the job in `environment: main` with only `contents: read` and `id-token: write` for the job token. - Mints the token with the same pinned `coder/github-app-token-action` step and `BACKPORT_APP_*` inputs (contents, pull_requests, workflows and issues write on coder/coder). - Uses the App token for both `git push` and `gh`, and commits as the App bot, as backport does. **Recovery on re-runs, as in `backport.yaml`** - Checks for an existing PR first (`--state all`) and exits only if there is one. - If the branch already exists, reuses it and goes on to open the PR. If its tip is the conflict placeholder commit, the PR keeps the ` (conflicts)` title suffix. - Otherwise cherry-picks and pushes as before. **Best-effort extras, as in `backport.yaml`** - `gh pr create` only sets base, head, title and body. Label, assignee and reviewer are added afterwards with separate `gh pr edit` calls that warn instead of failing. - `gh label create` warns instead of failing. Branch naming, the conflict placeholder, the PR body and the comment on the original PR are unchanged. **Side effects** - Cherry-pick PRs are now opened by the App, not `github-actions[bot]`, so they trigger CI like any other PR. - They also trigger `pr-cherry-pick-check.yaml`, which comments when a title doesn't start with `fix:`. Conflicts are therefore marked with a ` (conflicts)` suffix, as in `backport.yaml`, instead of a `[CONFLICT]` prefix. - With `workflows: write`, cherry-picks that touch `.github/workflows/` can now be pushed too. - Approvals: the requester is still asked to review the cherry-pick, so they can approve and merge their own cherry-pick. That isn't new, and backport works the same way. The proposal to require a `release-managers` approval on bot-opened release PRs isn't in `coder.yaml` yet ([discussion](https://codercom.slack.com/archives/C0CHP8J479T/p1795510371505229)). > [!IMPORTANT] > The backporter App's Cloud KMS key only signs for `/.github/workflows/backport.yaml@refs/heads/main` (`coder-backporter-app` in coder/gcp `projects/production/coder-github-apps/apps.tf`). coder/gcp#497 adds `/.github/workflows/cherry-pick.yaml@refs/heads/main`; merge and apply it first, or the token step fails to sign. Validated with `actionlint` (with shellcheck) and `zizmor --offline` (no findings). I also ran the script locally with a stubbed `gh` against a local remote: existing PR → skip; fresh run → PR opened, failing label/reviewer calls only warn; stranded placeholder branch → reused and opened with the ` (conflicts)` suffix. --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
bc4a573535 |
ci: isolate depot caches from pull request writes (#32756)
## Description Secure depot caches shared across branches by preventing pull requests from restoring cached artifacts that could contain malicious code. This ensures that trusted runs (pushes to main, scheduled jobs) only look up cache keys without restoring pull request-written content, while pull requests can still benefit from caches written by trusted runs. ## Changes - **ci.yaml**: Add `lookup-only` flag to golangci-lint and coder-e2e cache restore steps for non-pull-request runs. Invert pnpm cache condition to only restore on pull requests. - **setup-mise/action.yml**: Add `lookup-only: true` to cache step on main branch; change restore condition from `github.ref != 'refs/heads/main'` to `github.event_name == 'pull_request'`. - **pnpm-install/action.yml**: Add `lookup-only: true` to cache step on main branch; change restore condition from `github.ref != 'refs/heads/main'` to `github.event_name == 'pull_request'`. - **eval-coder-agents.yaml**: Disable caching in setup-mise and setup-uv for the eval job, which holds secrets and must not restore pull request artifacts. - **embedded-pg-cache/download/action.yml**: Restrict cache restore to pull request runs only. - **test-cache/download/action.yml**: Restrict cache restore to pull request runs only. All changes include explanatory comments documenting the security rationale. ## Test Plan CI workflows will validate the changes. The logic ensures: - Pull requests can restore caches from trusted runs - Trusted runs only look up keys without restoring pull request content - Secret-holding jobs disable caching entirely Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
f2b60844c5 |
fix: verify bundled terraform against a checksum file in the Coder repo (#31600)
`scripts/Dockerfile.base` and `install.sh --with-terraform` download the
bundled Terraform zip from `releases.hashicorp.com` and use it without
checking it. This verifies that zip against a checksum file kept in the
Coder repo. The only thing trusted is the Coder repo, which is where the
`Dockerfile` and `install.sh` themselves come from. Everything fetched
from HashiCorp is checked against it.
The other download paths are already covered:
`provisioner/terraform/install.go` uses `hc-install`, which checks the
GPG-signed SHA256SUMS, and `mise.lock` / `flake.nix` already carry
per-platform hashes.
## Source of truth
`provisioner/terraform/terraform_SHA256SUMS` is a verbatim copy of
HashiCorp's `terraform_1.17.2_SHA256SUMS`, the version `main` ships,
verified against their signing key (`C874 011F 0AB4 0511 0D02 1055 3436
5D94 72D7 468F`). Being verbatim, you can diff it against the published
file or check it with the published `.sig`. Its hashes match the
Terraform entries in `mise.lock` on `main`. Both the Terraform version
and the checksums are read from it, so neither consumer pins a version.
## Consumers
* `scripts/Dockerfile.base` copies the file in and reads the version and
its architecture's checksum from it. It checks the zip with `sha256sum
-c` before unzipping. The build fails if there's no entry for the
architecture or the download doesn't match. All three build contexts
include the file: `docker-base.yaml`, `release.yaml` and
`scripts/build_docker.sh`. `docker-base.yaml` also runs when the file
changes.
* `install.sh` no longer has a `TERRAFORM_VERSION` or any hashes.
`--with-terraform` downloads `terraform_SHA256SUMS` from the Coder repo
at `refs/tags/v${VERSION}`, the tag of the release being installed. Only
if that tag doesn't have the file (a 404, for releases from before it
existed) does it fall back to `refs/heads/main`, with a note in the
output. Any other error fails. Fully qualified refs mean a branch named
like the tag, or a tag named `main`, can't be read instead. It then:
* only accepts lines with exactly two fields: 64 lowercase hex
characters and `terraform_X.Y.Z_<os>_<arch>.zip`. It picks the line for
`${OS}_${TERRAFORM_ARCH}`, validates the Terraform version and builds
the zip name from validated parts rather than using the one in the file.
It refuses to install if there's no such line;
* downloads the zip from HashiCorp and checks it with `sha256sum`,
`shasum -a 256` or `sha256`, including a zip reused from the cache. On a
mismatch it deletes the zip so a rerun downloads it again;
* skips the check under `--dry-run`, since nothing is downloaded. The
checksum file is still fetched so the version can be printed.
* `install.sh` **command handling** (security review): `sh_c` runs its
arguments directly instead of re-parsing them with `sh -c`, and
`sudo_sh_c` passes them to `sudo` or `doas` as-is. The `su` fallback
single-quotes every argument (`quote_args`). The resolved Coder version
must be `X.Y.Z` or `X.Y.Z-rc.N` before it's used in URLs, file names or
commands. As a side effect, install prefixes and cache paths with spaces
now work.
* `provisioner/terraform/checksums_test.go` fails if the file isn't in
SHA256SUMS format, is for a different version than `TerraformVersion`,
or lacks the `linux_{amd64,arm64,arm}` entries that `Dockerfile.base`
needs.
Also fixes `install.sh` unzipping `${ARCH}` instead of
`${TERRAFORM_ARCH}`, which broke `--with-terraform` on armv7 (`armv7` vs
`arm`).
## Bumping after this
Replace `terraform_SHA256SUMS` with the new verified file and update
`TerraformVersion` (plus `mise.toml`, `mise.lock`, `flake.nix` and the
airgap doc, as today). `Dockerfile.base` and `install.sh` need no edits.
`scripts/update_terraform_version.sh` (coder/coder#31463) does all of
this, and the `TerraformVersion` note in `install.go` points at it.
`main` is merged into this branch, including coder/coder#31438
(Terraform 1.17.1) and coder/coder#32110 (Terraform 1.17.2), so the
checksum file and `TerraformVersion` are at 1.17.2.
## Testing
After merging `main` (Terraform 1.17.2), I re-ran the Go test, `go vet`,
`gofmt`, `shellcheck`, `shfmt` and `actionlint`, and checked that the
`Dockerfile.base` extraction resolves 1.17.2 for amd64, arm64 and arm.
The `docker-base` build and the `install.sh` and `Dockerfile.base` runs
below were done before that merge, against 1.16.7 and 1.17.1, and I
haven't repeated them at 1.17.2. The `docker-base` workflow rebuilds the
image from the 1.17.2 file in CI.
* The `docker-base` workflow built all three platforms from the checksum
file: `terraform_1.16.7_linux_{amd64,arm64,arm}.zip: OK`, then Terraform
v1.16.7 on each.
* Ran the `Dockerfile.base` Terraform step under BusyBox 1.35 `sh`. It
fails with a changed hash or no entry for the architecture. With the
verified 1.17.1 file it installs 1.17.1 with no Dockerfile edit.
* `install.sh` `with_terraform` under `dash` on linux/amd64:
* fetched the real file over `raw.githubusercontent.com` from this
branch (standing in for `main`), then verified and installed 1.16.7;
* with the 1.17.1 file it installs 1.17.1;
* a changed hash is rejected and the cached zip is deleted;
* an unsupported platform and a garbage response are both refused;
* `--dry-run` prints the commands.
* Today neither the release tags nor `main` have the file, so
`--with-terraform` fails with "Could not download the Terraform
checksums" until this merges. After that, older releases use `main`'s
file.
* Security review fixes, under `dash` and `bash --posix`:
* checksum lines with `$(...)`, backticks, `;`, `../`, an extra field,
an uppercase or 65-character hash, or a malformed Terraform version are
refused before any command runs. The previous version of the script ran
the `$(...)` one. A file with an injected line followed by the real ones
installs only the real zip;
* with a `curl` stub, a tag hit reads `refs/tags/v2.39.0`, a 404 falls
back to `refs/heads/main`, and a 500 or a network error fails without
trying `main`;
* `sh_c`, and `sudo_sh_c` through `sudo`, `doas` and `su` stubs, pass
arguments with spaces, quotes, `;` and `$(...)` through unchanged and
run nothing else. `--dry-run` runs nothing;
* `--version v2.28.0`, `2.28.0;id` and `../../x` are refused. `--version
2.39.0`, `--version 2.33.0-rc.1`, `--stable` and the default mainline
still work;
* real installs of Terraform into a prefix with a space (no sudo) and
into a root-owned prefix (through `sudo`), and of Coder 2.39.0 with
`--method standalone` into a prefix with a space.
* `go test ./provisioner/terraform -run
TestTerraformChecksumFileMatchesVersion` passes with the 1.17.2 file,
and fails with the 1.17.1 file in place (`expected: "1.17.2", actual:
"1.17.1"`). `go vet` and `gofmt` are clean.
* `shellcheck --external-sources` (v0.10.0) and `shfmt -d` (v3.12.0) are
clean on `install.sh` and `scripts/build_docker.sh`, and `actionlint`
(v1.7.7) is clean on the workflows. Local git hooks were skipped.
## How coder/coder#31600, coder/coder#31463 and coder/coder#31461 fit
together
* coder/coder#31600 makes `provisioner/terraform/terraform_SHA256SUMS`
(a verbatim copy of HashiCorp's signed file) the one place the bundled
Terraform checksums live. `Dockerfile.base` reads it, and `install.sh`
downloads it from the Coder repo at install time.
* coder/coder#31463 adds `scripts/update_terraform_version.sh`. On
branches with the checksum file it just replaces that file. On older
branches it edits `install.sh` and `Dockerfile.base` directly.
* coder/coder#31461 (stacked on coder/coder#31463) runs the script
weekly for `main` and the supported release branches. It needed no
changes for the checksum file.
None of the three touch the same files, and merging all three onto
`main` is conflict-free. On that combined tree, the bump script (run
before `main` moved to 1.17.2) took 1.16.7 to 1.17.1 by replacing the
checksum file, the new Go test passes, and `actionlint` and `shellcheck`
pass. They can merge in any order. Merge coder/coder#31461 after
coder/coder#31463, retargeted to `main`.
Opened by Superblink on behalf of @droopy4096.
---------
Co-authored-by: coder[bot] <137810501+coder[bot]@users.noreply.github.com>
Co-authored-by: Dmytro Makovey <dmitry@coder.com>
Co-authored-by: Lisa Fiander <lisa@coder.com>
Co-authored-by: Dmitry Makovey <dmakovey@yahoo.com>
|
||
|
|
ab38ca7afe |
ci: simplify release workflow (#32716)
Removes a job from the release workflow. |
||
|
|
54fc9e3e14 |
ci: remove the workflow that updated coder.com's own docs renderer (#32560)
## Merge order
Merge this together with coder/coder.com#1231, which removes coder.com's
own docs renderer and its `/api/algolia-docs-sync` endpoint, ideally
just before it. Merged earlier, coder.com's Algolia docs index and its
build-time docs redirects stop updating while that renderer still
exists; merged later, the `algolia-and-isr` job fails on every `docs/**`
push because its endpoint is gone. coder/coder.com#1231 itself follows
coder/coder.com#1230 and the docs-engine changes that move code-server's
docs into the engine.
## Summary
`deploy-docs.yaml` kept coder.com's classic docs renderer up to date.
Its `algolia-and-isr` job POSTed every `docs/**` push to coder.com's
Algolia docs sync, which reindexed the Algolia `docs` index and
revalidated the static pages, and its `vercel-rebuild` job fired a full
coder.com rebuild when `docs/manifest.json` or `docs/redirects.json`
changed. coder.com/docs has been served by the docs engine since
October, and coder/coder.com#1231 removes the renderer, the sync
endpoint, and coder.com's build-time reading of the manifest and
redirects. After that, the first job fails on every docs push and the
second rebuilds coder.com for nothing, so the whole workflow goes.
This removes `deploy-docs.yaml` and the two test scripts that only
exercised its logic (`test-deploy-docs-diff.sh` for the surgical-reindex
diff parser, `test-deploy-docs-release.sh` for the release-tag step
inside the Algolia job). It drops the three paths from doc-check's path
filter and from CODEOWNERS, and rewrites the short "How exclusion from
coder.com works" section of `docs/.style/README.md`, which described
exclusion through coder.com's old renderer, to describe the docs
engine's manifest-driven sync.
After merge, the `ALGOLIA_DOCS_SYNC_SECRET` and
`DEPLOY_DOCS_VERCEL_WEBHOOK` repository secrets are unused and can be
deleted.
## Verification
Nothing else in the repository references what this removes. A code
search on `main` for `deploy-docs`, `test-deploy-docs`,
`DEPLOY_DOCS_VERCEL_WEBHOOK`, `ALGOLIA_DOCS_SYNC_SECRET` and
`algolia-docs-sync` finds only the six files this PR changes. No CI job
runs the two test scripts; doc-check only lists them in a path filter.
The branch is one commit on `main` (
|
||
|
|
e35a124b0d |
feat: report database migration outcome (#31849)
Nothing said how a migration run ended. On failure, the CLI printed the PostgreSQL error with the failing SQL, but not which migration failed or whether anything was saved. After a failed run, the reporter asks PostgreSQL how the transaction ended (`pg_xact_status` on the captured transaction ID, plus the saved schema version). Every run logs one outcome line: committed, rolled back, committed before failure, unknown, lock timeout, dirty schema, or failed before start. Every failure line has an `error` field. The error names the failed migration and gives PostgreSQL's short message and SQLSTATE, without the SQL or detail text, which can contain row values. ``` [info] committed database migrations status=success count=2 from_version=1 final_version=3 transaction_status=committed total_duration_ms=0 [erro] migration failed, transaction rolled back, no changes saved status=failure count=1 version=3 name=step_3 final_version=1 sqlstate=23505 transaction_status=aborted total_duration_ms=0 failed_duration_ms=0 error="migration 3 (step_3): migration failed: duplicate key value violates unique constraint \"a_pkey\" (sqlstate=23505)" ``` Closes ENT-236 _Written with Claude Code and Coder Agents, reviewed and tested by @kirstaeff._ |
||
|
|
cdbc364d0b |
ci: build the dogfood image from the base image's digest, not its tag (#32572)
**The race.** Every same-repo `dogfood.yaml` run, PRs included, pushes `ghcr.io/coder/oss-dogfood-base` under the same cache-key tag, `26.04-<base_sha>`. The `main` job then builds `codercom/oss-dogfood` with `mise oci build --from` **that tag**. A PR run can move the tag between main's push and main's read. main would then publish the PR's base to Docker Hub as `codercom/oss-dogfood:latest`, which every dogfood workspace and coder/coder's devcontainer use. **The fix.** `mise oci build` now uses the digest depot returned for main's own push, and fails if there isn't one. A digest can't be moved. **Testing.** I checked locally that `mise oci build --from <image>@sha256:…` works with mise 2026.8.6: it pulled a multi-arch index by digest and wrote the OCI layout. actionlint and zizmor are clean. **Not covered here.** Whether the Docker Hub OIDC connection behind `DOCKERHUB_OIDC_CONNECTIONID` is limited to environment `main`. That's configured on Docker Hub and can't be read from here. If it only checks the repository, any branch workflow could push `codercom/oss-dogfood` directly. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
11f72a8ae9 |
ci: publish release images and charts through coder/ghcr-publisher (#32566)
GitHub grants package write access to a whole repository, not to a workflow, branch or environment. Today `ghcr.io/coder/coder`, `coder-base` and the OCI charts list coder/coder with Write, so any workflow on any branch here can request `packages: write` and overwrite a release tag with this repository's `GITHUB_TOKEN`. The `release` environment and the tag rulesets don't stop that. GHCR accepts neither App tokens nor OIDC, so the repository boundary is the only way to separate who publishes. With this change, releases push to `*-staging` packages and trigger **coder/ghcr-publisher**, a locked repository that will be the only one with Write on the public packages. Before copying a digest, it verifies three things: - this `release.yaml` attested it, - on `release/X.Y` (or `main` for an RC), with the signer being `release.yaml` at that same ref, - built from the commit the `vX.Y.Z` tag points to. It copies by digest and never moves an existing version tag. It moves `latest` only to the highest stable version. ### Changes - **release.yaml** - Images, the base image and the OCI charts are pushed to `coder-staging`, `coder-base-staging` and `chart-staging/*`. - The charts get attestations for their OCI manifest digests. The existing `.tgz` attestations don't cover those digests. - The base and image attestations no longer `continue-on-error`, because promotion depends on them. - The final image is built on the fresh base image **by digest**. - A `repository_dispatch` is sent with a `coder-ghcr-dispatch` token (`contents: write` on `ghcr-publisher` only). - The job waits until every public tag serves the expected digest, before the GitHub release is published. - `latest` is no longer built here. The separate latest SBOM asset is dropped; it described the same image. - **docker-base.yaml** - Only checks, on PRs that touch them, that `Dockerfile.base` builds for every platform. It no longer publishes, and no longer needs `packages: write`. - Non-release and local builds keep using `ghcr.io/coder/coder-base:latest`. coder/ghcr-publisher moves it to the base of each new highest stable release (roughly weekly for 2.39), instead of the Monday/Wednesday/Friday rebuild. So preview images and the `coder-preview:main` scan see Alpine updates about weekly, and a `Dockerfile.base` change reaches preview images at the next stable release. Release images always build a fresh base. - **verify-releases.md** - Releases since 2026-11-16 (#32212) are built on `release/X.Y`, so the documented `--source-ref refs/tags/vX.Y.Z` and cosign identity fail for current releases. - Checked: `gh attestation verify` on v2.39.4 fails with the tag ref and passes with `refs/heads/release/2.39`. v2.39.1 still passes with its tag. Cosign verifies v2.39.4 with the new identity. ### Review fixes (second commit set) Two independent reviews (one functional, one adversarial) found the following, now fixed: - **A writer could get a real release to attest their image.** The index was built from, and its digest read back from, mutable staging tags. A writer moving `coder-staging:vX` mid-release could get their image attested. Now every digest comes from the registry's response to our own push (`docker push`, `docker manifest push`, depot, `helm push`), the index is built from per-arch **digests**, and syft and cosign run on `image@digest`. Tested against a local registry with Docker 29: each parsed digest matches what the registry stores, and the index contains exactly the pushed children. - **Commit binding.** The provenance commit field is the dispatched branch head, not the released commit (which differs whenever an older commit is released). Each artifact now gets a release attestation (`https://coder.com/attestations/release/v1`) stating version, commit and target package, and the publisher requires it, plus an approved `release` environment on the run. - **Re-runs:** a tag an earlier attempt promoted is accepted, and the publisher keeps that build. - **Tokens:** the tagging and promotion App tokens are revoked right after use. - **Docs:** `SOURCE_REF` is now correct for RCs (checked in bash and PowerShell). Image *provenance* attestations are best-effort again, as before; the publisher relies on the release attestations instead. ### Prerequisites (all done 2026-11-22) 1. coder/ghcr-publisher#1 and coder/ghcr-publisher#2 merged (#2 checks the release attestations this PR now produces). 2. The staging packages exist (created 2026-11-20), with coder/coder **Write** and `ghcr-publisher` **Read** set under Manage Actions access: `coder-staging`, `coder-base-staging`, `chart-staging/coder`, `chart-staging/coder-provisioner`, `chart-staging/coder-ai-gateway`. 3. The `coder-ghcr-dispatch` App exists and is installed on `ghcr-publisher` only (coder/gcp#472, coder/github-org-terraform#206), and `CODER_GHCR_DISPATCH_APP_ID` and `CODER_GHCR_DISPATCH_APP_KMS_KEY` are set in the `release` environment. `coder-release-publisher` is uninstalled from `ghcr-publisher`. ### After merge - Backport to release/2.39, 2.38, 2.37, 2.34 and 2.29. Each branch runs its own `release.yaml`. - After one real release promotes successfully, switch the five public packages to coder/coder **Read** and ghcr-publisher **Write**. Only then is the overwrite path closed. Tested: - The publisher's checks against the real v2.39.4 attestations: pass on the right ref, fail on a wrong ref, wrong commit or wrong signer. - The anonymous digest lookup against live image, base and chart tags (matches crane). - actionlint and zizmor are clean. - No release has run with this yet. 🤖 Generated with [Claude Code](https://claude.com/claude-code) --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
325fbc292a |
ci: publish coder-preview through coder/ghcr-publisher (#32571)
**The problem.** Any workflow on any branch here can push `ghcr.io/coder/coder-preview`, because GitHub grants package write per repository. coder/dogfood's Flux (`coder-image/resourcesetinputprovider-coder-preview.yaml`) deploys the alphabetically newest `main-<10 digits>-<12 hex>` tag every 2 minutes, with no signature check. So a writer can push `main-9999999999-…` from a branch, and dogfood runs it within minutes and stays on it. **The fix.** It follows the release flow in #32566: - `build.yaml` pushes to **`coder-preview-staging`**. - Each per-arch digest comes from the registry's response to its own `docker push`, and the index is built from those digests. No staging tag is read back, which closes a race where a writer swaps a tag mid-build. - It signs a **preview attestation** (`https://coder.com/attestations/preview/v1`: commit, version tag, target). This step must succeed. - It dispatches **coder/ghcr-publisher** (`promote-preview.yaml`) with a `coder-ghcr-dispatch` token (`contents: write` on `ghcr-publisher` only), revokes the token, and waits for the version tag and, on main, the `main-<commit time>-<sha>` tag. - **The publisher** verifies the attestation came from a push run of `build.yaml` on `main` or `release/*` at that run's head commit. It then **derives every public tag from the verified commit**: the version, `main-<commit time>-<sha>`, `main`, `latest` and `release-X.Y`. - The derived tag matches today's `main-1795210592-ecc0850e369a` exactly, so dogfood's filter keeps working. - Rolling tags only move forward. - **Pruning** now targets the staging package. Public package storage is free, and only the publisher can write the public one. - **SBOM and provenance attestations** now run on the digest, once, instead of once per tag. **Prerequisites (all done 2026-11-22)** - [x] coder/ghcr-publisher#2 merged - [x] The `coder-ghcr-dispatch` App exists (coder/gcp#472, coder/github-org-terraform#206). The `ci-signing` environment has `CODER_GHCR_DISPATCH_APP_ID`, `CODER_GHCR_DISPATCH_APP_KMS_KEY` and `APP_KEYS_WORKLOAD_ID_PROVIDER`. - [x] `coder-preview-staging` exists: coder/coder **Admin** (pushes and prunes), `ghcr-publisher` **Read** - [x] `ghcr-publisher` has **Write** on `coder-preview` **After the first successful promotion:** set coder/coder to **Read** on `coder-preview`. Only then is the dogfood path closed. Pruning `coder-preview` moves to coder/ghcr-publisher (`prune-preview.yaml`, which has Admin on that package); this PR points the prune job here at `coder-preview-staging`. actionlint and zizmor are clean. The push and index steps were rehearsed on a local registry, where the parsed digests matched what the registry stored. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
f70ced16a4 |
ci: stop contrib jobs from creating main deployments (#32547)
The `community-label` and `cla` jobs reference the `main` environment for their Cloud KMS signing keys (#31763, #32352). By default that creates a GitHub deployment, so every PR shows "temporarily deployed to main". Setting `deployment: false` keeps the environment's secrets and branch rules without creating a deployment. Other workflows that use `environment: main` for secrets only are left for a follow-up. <details> <summary>Verification</summary> - `make lint/actions` (actionlint, zizmor): no findings. - Not verifiable before merge, because `pull_request_target` runs the workflow from `main`: - `deployment: false` fails the job if the `main` environment has a custom deployment protection rule. Needs a repo admin to confirm it has none. - The KMS signing for `coder-cla` and `coder-org-membership-bot` should still accept the OIDC token without a deployment. - After merge: open a test PR and confirm both jobs mint tokens and no deployment appears. </details> --- _Generated by Coder Agents on behalf of @jeremyruppel._ |
||
|
|
284b0af2f7 | ci: update release workflow (#32418) | ||
|
|
3db7a3ec6d |
ci: run linkspector on pull requests to release branches (#32131)
The docs link check (Linkspector, in `weekly-docs.yaml`) only runs on pull requests to `main`, and its weekly scheduled run only checks `main`. Pull requests to `release/**` never get it. That let #31796, a backport to `release/2.39`, merge with a link to `admin/workspaces/devcontainers/customizing-dev-containers.md`, `main`'s layout for that page; on 2.39 the page is still under `user-guides/devcontainers/`. No check flagged it, and the docs publish has refused to build 2.39 since 2026-11-09 because of it. This adds `release/**` to the `pull_request` branches, so the same check runs on backports. On pull requests Linkspector only checks the Markdown files the PR changes (`filter_mode: file`), so a backport pays only for its own files. The Slack notification still fires only for the scheduled run. A pull request runs the workflow from the branch it targets, so this only takes effect on a release branch once it's backported there. It should be cherry-picked to each release branch that still takes docs backports (at least 2.39, 2.38 and 2.37). `actionlint` reports the workflow clean. --- 🤖 Built with AI assistance. |
||
|
|
7022f3f3b4 |
ci: pin wingetcreate in publish-winget and check its SHA-256 (#32387)
Pins the `wingetcreate.exe` that `publish-winget` downloads and checks its SHA-256 before running it. The job runs in the `release-publish` environment with cdrci's token, so it shouldn't run whatever `aka.ms/wingetcreate/latest` currently points at. ## Changes (`.github/workflows/release.yaml`, `publish-winget` job) - Downloads `wingetcreate.exe` from the GitHub release `v1.28.1.0` of microsoft/winget-create, not `https://aka.ms/wingetcreate/latest`. - Fails if the file's SHA-256 isn't `63d980ba79e97042395bd6eb5992c2db9e01e9e7a8a22958a95c288f27310413`, and deletes the file. - Keeps the output path `.\wingetcreate.exe`, so the next step doesn't change. - To upgrade, change `WINGETCREATE_VERSION` and `WINGETCREATE_SHA256` together. The comment above the step says where to find both. ## Where the hash comes from - **Same build as now:** `aka.ms/wingetcreate/latest` currently redirects to `releases/download/v1.28.1.0/wingetcreate.exe`, so releases already use this binary. - **Three sources agree on the hash:** - my own download; - GitHub's asset digest for `wingetcreate.exe`; - the `wingetcreate.exe.txt` checksum file Microsoft publishes in the same release. - **Signature:** the binary carries a Microsoft Authenticode signature. coder/coder-desktop-windows#196 pins the same version and hash. ## Checks - `actionlint .github/workflows/release.yaml`: clean. - `zizmor --offline .github/workflows/release.yaml`: no errors or warnings, on `main` or on this branch. --- AI disclosure: an AI coding agent (Xum) wrote this change and ran the checks above at my direction. It stays a draft until I've reviewed it. |
||
|
|
d974fefc08 |
chore: sign with github.com/coder/gpgkms instead of scripts/gpgkms (#32308)
Replaces `scripts/gpgkms` with [`github.com/coder/gpgkms`](https://github.com/coder/gpgkms) v0.2.0, the same code extracted into a shared module (terraform-provider-coder already signs its releases with it). v0.2.0 also rejects keys that aren't HSM-backed (`gpg-release` is `HSM`, and the check reads `protectionLevel` from the existing `GetPublicKey` call, so no new IAM is needed), limits each KMS request to a minute, and writes `-out` atomically. - `go.mod`: gpgkms is a `tool` dependency, so the version is pinned in `go.mod`/`go.sum` and Dependabot keeps it current. This bumps go-crypto 1.4.1 → 1.5.2, google.golang.org/api 0.308.0 → 0.311.0 and circl 1.6.3 → 1.6.5, plus a few indirect dependencies. go-crypto is now only indirect: nothing else in coder/coder imports it. - `scripts/gpgkms.sh` (new): runs it with `go tool` (like `scripts/format_go_file.sh` does for gofumpt and gci), passing the release key's OpenPGP identity (name, email, creation time, 4-year lifetime). The library takes these as flags instead of hardcoding them, so they now live in one place. - It also pins `-fingerprint 0F685EFE0AE5A8182A473DD86E3A8E5613707520`, so signing and `public-key` fail if the KMS key or creation time ever change. That's the fingerprint every current main build prints (e.g. run 44031030839), and I recomputed it from the KMS public key and the creation time alone, without signing anything. The fingerprint doesn't cover the user ID or lifetime; the equivalence check below does. - `scripts/sign_with_gpg.sh` and the "Print GPG KMS public key" step in `build.yaml` call the wrapper instead of `./scripts/gpgkms`. Signatures stay armored `.v2.asc` files, as before. - `scripts/gpgkms/` is deleted. ## Same key, same signatures The OpenPGP key's fingerprint depends on these exact inputs, so I checked that nothing changed. With a local RSA-4096 key standing in for KMS, the deleted `newEntity`/`writePublicKey`/`sign` produce the same output as the gpgkms CLI with the flags read out of `scripts/gpgkms.sh`: - The public key is **byte for byte identical**. - A signature with `-prepend` is armored the same way and has the same length (only the timestamp differs). Both the prepended signature and the KMS signature verify in both outputs. - Changing the lifetime in the wrapper by one hour makes the comparison fail, so the check is sensitive. ``` $ git -C gpgkms describe --tags v0.2.0 $ WRAPPER_ARGS_FILE=wrapper-args.txt go test ./cmd/gpgkms -run TestCoderWrapperMatchesOldCoderCode -count=3 -v === RUN TestCoderWrapperMatchesOldCoderCode equiv_coder_test.go:40: wrapper args: ["-name" "Coder Release Signing Key" "-email" "security@coder.com" "-created" "2026-11-16T00:00:00Z" "-lifetime" "35040h"] --- PASS: TestCoderWrapperMatchesOldCoderCode (0.33s) --- PASS: TestCoderWrapperMatchesOldCoderCode (0.11s) --- PASS: TestCoderWrapperMatchesOldCoderCode (0.20s) ok github.com/coder/gpgkms/cmd/gpgkms 0.634s # with -lifetime 35041h equiv_coder_test.go:56: public keys differ: FAIL # with the wrapper's -fingerprint pin and a random test key derived key has fingerprint 9794B34B5E098DE61DD6CE247E0DFD4BF203C917, want 0F685EFE0AE5A8182A473DD86E3A8E5613707520 (wrong -key, -created or KMS key?) ``` (The byte-for-byte comparison runs without `-fingerprint`, since the test key is random.) gpgkms also has its own compatibility test against this identity (`compat_test.go`). Other checks: ``` $ ./scripts/gpgkms.sh public-key # from the repo root (build.yaml) gpgkms: -key is required $ cd scripts && ./gpgkms.sh public-key # from scripts/ (build_go.sh -> execrelative) gpgkms: -key is required $ ./gpgkms.sh sign -key x -prepend ../no-such-file -out o.asc ../go.mod # relative paths resolve from the caller gpgkms: read prepend signature: open ../no-such-file: no such file or directory $ shellcheck -x scripts/gpgkms.sh scripts/sign_with_gpg.sh # clean $ shfmt -d scripts/gpgkms.sh scripts/sign_with_gpg.sh # clean $ actionlint .github/workflows/build.yaml # clean $ go build ./... && go mod tidy -diff # clean ``` Not run here: real signing through Cloud KMS. The first main build after merging prints the public key in the job summary; it should be identical to the one printed by current main builds. --- AI disclosure: this PR was written by an AI coding agent (Xum) at my direction, and the agent ran the verification above. It stays a draft until I've reviewed it. |
||
|
|
c0cc6cef4a |
ci: turn off docs PR previews (#32364)
docs-pr-preview-deploy.yaml has failed on every docs PR since 2026-11-17 22:59: its engine job reads the `DOCS_ENGINE_APP_ID` and `DOCS_ENGINE_APP_PRIVATE_KEY` repository secrets, which aren't set. This gates the engine job with `false &&`. The build, deploy and comment jobs need it, so they skip too, and docs PRs show skipped checks instead of failed ones. Previews come back by dropping `false && ` once the job has another way to read docs-engine. `test-docs-preview-mapper.sh` and actionlint pass. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
555069ef80 |
ci: run eval-coder-agents in its own eval environment (#32363)
The `run` job in `eval-coder-agents.yaml` checks out the PR's head and runs its code, including its own `scripts/harbor-coder`. It currently uses the `main` environment, which holds main-only secrets for other workflows. This moves it to a dedicated `eval` environment, so only eval secrets are ever in scope. - **Depends on** coder/github-org-terraform#124, which creates `eval` (only `main` may deploy, no reviewers, no admin bypass). Merge that first; otherwise GitHub creates `eval` unprotected on the first run. - **`EVAL_CODER_SESSION_TOKEN`:** the job references it, but it isn't set in `main` today. When it's added, put it in `eval`. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
e2abab288b |
ci: mint backport, automation, CI reader, CLA and membership App tokens with Cloud KMS (#32352)
Switches App token steps from `actions/create-github-app-token` with a private key to [coder/github-app-token-action](https://github.com/coder/github-app-token-action). Each App's key becomes a non-exportable Cloud KMS key that only the listed workflow, in its environment, can sign with (coder/gcp#383). | Workflow | App | Environment | Token | |---|---|---|---| | `backport.yaml` | `coder-backporter-app` | `main` | coder: contents, pull_requests, workflows, issues write | | `aigateway-prices-refresh.yaml` | `coder-automations` | `main` | coder: contents, pull_requests write | | `audit-docs-paths.yaml` | `coder-ci-reader` | `main` | coder.com: contents read | | `contrib.yaml` (`cla`) | `coder-cla` | `main` | cla: contents write | | `contrib.yaml` (`community-label`) | `coder-org-membership-bot` | `main` | members read | - **Scope is unchanged:** same repositories and permissions as before. The token is revoked when the job ends. - **Permissions:** each signing job gets `id-token: write`. - **backport.yaml and contrib.yaml community-label:** the old steps set no `repositories`, so the token defaulted to this repository. The action needs it explicitly, so they now say `repositories: coder`; the membership token requests only `members: read`, which is all the App has. - **Tighter than today:** the `main` environment holds all five keys, so any job in `main` could use any of them. Now each key only signs for the one workflow file above, on `main`. - **Secrets:** the KMS key and `APP_KEYS_WORKLOAD_ID_PROVIDER` are already set in the environment. The old private-key secret is deleted after this merges. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
85a786c4fa |
ci: mint release and package publisher App tokens with Cloud KMS (#32331)
Switches every GitHub App token step in the release workflows from `actions/create-github-app-token` with a private key to [coder/github-app-token-action](https://github.com/coder/github-app-token-action). Each App's key becomes a non-exportable Cloud KMS key that only these workflows, in their environments, can sign with. **`coder-release-publisher`** - `release.yaml` (environment `release`): the tagging token and the release-publishing token. - `create-release-branch.yaml` (environment `release-refs`, `main` only): the release-branch token. The job gets `id-token: write`. - Scope is unchanged: `repositories: coder`, `contents: write`, `workflows: write`. **`coder-package-publisher`** - `release.yaml` `publish-packages` (environment `release-publish`): `repositories: packages`, `contents: write`. - `release.yaml` `publish-homebrew` (environment `release-publish`): `repositories: homebrew-coder`, `contents: write`, `pull_requests: write`. - Both jobs get job-level `contents: read` and `id-token: write`. Before, they inherited the workflow's `contents: read`. **Unchanged** - Who approves: every environment still needs a release manager, and admins can't bypass. - Each token covers one repository and is revoked when its job ends. - The KMS keys, `APP_KEYS_WORKLOAD_ID_PROVIDER` and the App IDs are environment secrets, already set in `release`, `release-refs` and `release-publish`. Release branches 2.39, 2.38, 2.37, 2.34 and 2.29 run their own `release.yaml` and get the same change once this merges. The old private keys are deleted after that. 🤖 Generated with [Claude Code](https://claude.com/claude-code) --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
8922988e34 |
ci: stop auto-approving Dependabot PRs (#32303)
Removes the step that approved Dependabot PRs with `GITHUB_TOKEN`. Auto-merge stays enabled, so a Dependabot PR merges as soon as a person approves it and checks pass. The approval came from `GITHUB_TOKEN`, so it met the one-review rule on `main` without anyone looking at the dependency update. The org is turning off "Allow GitHub Actions to create and approve pull requests", which would make the step fail anyway. From now on Dependabot PRs need a human approval like every other PR. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
3e9dec617c |
ci: disable the Linear release sync (#32286)
`linear-release.yaml` fails on every push to `main` ([example](https://github.com/coder/coder/actions/runs/43946040791/job/133575848447)): `access_key input is required`. `LINEAR_ACCESS_KEY` isn't a repository secret anymore, and the `linear` environment that #32238 moves the jobs into has no secrets either, so that PR alone wouldn't fix it. This replaces the push trigger with `workflow_dispatch`, so nothing runs automatically. A manual dispatch doesn't sync either, because every job checks for a push event. The comment at the top says how to turn it back on: store a Linear access key in the `linear` environment, merge #32238 (`environment: linear` on each job), and restore the push trigger. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
b4f8b6756c |
ci: validate the release commit input before checking it out (#32256)
The `release` job in `release.yaml` checked out the `commit` workflow_dispatch input before validating it. The only check (full SHA, ancestor of the dispatched branch head) ran in the `Create release tag` step, which is skipped when `dry_run` is true. A dry run could therefore check out any ref the repository resolves, such as an unprotected branch, a pull-request head or an unmerged commit, and run its scripts and the local `build-coder` action in the `release` environment with the signing secrets, the OIDC signing identities and the release App token. Changes: - Always check out the dispatched commit (`github.sha`) first. A new step, run from the workflow file and not from the tree being checked, requires `commit` to be a full 40-character SHA that is an ancestor of `GITHUB_SHA`, then switches to it with `git checkout --detach`. This runs for dry runs and real releases before any repository script, local action or credential. Without a `commit` input nothing changes. - Skip `Generate release App token` on dry runs. A dry run creates no release, and `scripts/release/publish.sh --dry-run` never calls `gh`, so it needs no token. - Document that dry runs still sign (to exercise the signing path) and that this relies on the commit check above. The existing check in `Create release tag` stays as a second line of defence. Verification: ran the new step's script against a scratch repository. It accepted an ancestor SHA and the branch head. It refused an unmerged branch SHA, a branch name, `refs/pull/1/head`, an uppercase SHA and a missing SHA, leaving HEAD unchanged. actionlint passes. --- _Generated by [Claude Code](https://claude.ai/code/session_015koAoN7npVzwZjdWhi3V5o)_ Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
368fddf1d6 |
feat: deploy dogfood by pulled digest instead of CI push (#32253)
Switches dogfood from push-based deploys to pull-based, digest-pinned deploys with Flux image automation (SEC-863): - **Remove the push deploy.** Deletes `deploy.yaml` and `scripts/should_deploy.sh`, and drops the `deploy` job from `build.yaml`. CI no longer assumes the AWS deploy role, fetches EKS credentials, runs `flux reconcile` or `kubectl rollout restart`, or retags `:dogfood`, which nothing consumes. `build.yaml` now has no cluster access, and only the signing job's existing `id-token: write` remains. - **`coder.image.digest`** in the `coder`, `provisioner` and `ai-gateway` charts. When set, the image renders as `repo:tag@digest`. Empty (the default) keeps today's output, and existing golden files are unchanged. - **Sortable main tag.** `build.yaml` pushes an extra `main-<commit unix time>-<12 char sha>` tag for every main build, which the Flux `ImagePolicy` orders on. The `prune` job already prunes `^main-` tags older than 30 days. Companion PR: coder/dogfood#857, which installs the image controllers and pins dogfood-cdr by digest. **Merge this one first**: the ai-gateway chart's schema rejects unknown keys, so dogfood's new `digest` value would fail on the current chart. Merging this before dogfood#857 doesn't regress anything. The `dogfood-coder-repo-ci` role's trust was disabled during containment, so the deploy job currently fails at OIDC role assumption on every main build and only sends a failure alert to Slack. Until dogfood#857 is live, dogfood stays on its current image. <details> <summary>Design notes and decision log</summary> - **Delete the deploy instead of keeping a Flux webhook ping.** A ping would only cut latency. Flux scans the registry every 2m, so any trigger can be added later as a notification-controller `Receiver` without giving CI cluster credentials. - **Separate digest value instead of `tag: x@sha256:...`.** Flux's `:tag` and `:digest` setters write separate fields, and no setter writes `tag@digest` into a single field. A dedicated chart value is the documented Flux pattern for HelmReleases and is useful to customers who pin by digest. - **Commit timestamp in the tag.** `git log -1 --format=%ct` makes the tag sort by commit time, which Flux's `numerical` policy selects on. The sha suffix keeps tags unique and traceable. - **Not done here:** - Making the cosign and GitHub attestation steps required. They're still `continue-on-error`. Admission-time signature verification is a separate SEC-863 step. - Removing the AWS role itself and the `AWS_DOGFOOD_*` repo variables. Those are settings outside the repo, and they become unused once this merges. </details> Verified: `go test ./helm/...`, `make lint/helm`, `make lint/actions`. I also rendered the dogfood-cdr values against this branch's charts, and the server, provisioner and ai-gateway images all come out as `ghcr.io/coder/coder-preview:<tag>@sha256:<digest>`. Refs SEC-863 > Generated by Coder Agents on behalf of @deansheather. |
||
|
|
b0a66bd878 |
ci: build and sign main and releases with a shared build-coder action (#32229)
> [!NOTE] > Generated by Coder Agents on behalf of @deansheather. Main builds and releases now build and sign through one shared composite action, so they can't drift apart. PR builds use the same action unsigned, in a job with no environment, so they can't reach signing secrets or identities. Depends on coder/gcp#343, which must merge first. The `release-signer` identity provider only accepts tag-dispatched releases and `ci.yaml`. Since #32211 made that login unconditional, releases and non-push main runs already fail today. ## Changes - **`.github/actions/build-coder` (new):** tool setup, then `make` for the given targets. With `sign: true` it signs darwin binaries with the Apple key in Cloud KMS, Windows binaries with EV, and everything with GPG (the legacy key plus the optional KMS key). With `notarize: true` it also notarizes. Composite actions can't read secrets, so callers pass them in. - Signing material goes in a `$RUNNER_TEMP/coder-signing` directory with mode 700 and is removed with `if: always()`. - Signing builds disable the mise, pnpm and rcodesign caches. - KMS signing no longer checks the event or ref. If the provider rejects a run, the build fails loudly. - **`.github/workflows/build.yaml` (new):** the signed main and `release/*` build, moved out of `ci.yaml`. - Triggers: `push` to `main` and `release/*` (ignoring the same docs-only paths as `ci.yaml`'s `changes` filter), plus `create` for `release/*`. No `pull_request` or `workflow_dispatch`. Top-level `permissions: {}`. - The `build` job runs in `ci-signing`. It builds and signs, pushes `coder-preview` tags, then runs SBOM, image attestations and binary attestations (new), and uploads artifacts. - `prune` runs `action-ghcr-prune` in its own job, away from the signing credentials. - `deploy` calls `deploy.yaml`. `notify-slack-on-failure` covers build, prune and deploy failures on main. - **`ci.yaml`:** - The `build` and `deploy` jobs are removed. - `check-build` now runs `make build-slim` through the action, unsigned. That compile-checks all 7 OS/arch targets without the frontend and fat builds. - `check-build` also runs when CI files change. - **`release.yaml`:** - Builds and signs through the action with `notarize: true`. Tagging, base image, images, attestations and publishing are unchanged. - The `refs/tags/*` KMS gate is removed. - The publish step now reads the `release-signer` credentials from the action's output. - **Hardening on top of #32211:** - `install-rcodesign` gains a `use-cache` input, which signing jobs set to `false`. Depot caches are shared across branches, so a PR could otherwise plant a binary under the cache key that a signing job would run with signing credentials. - `cargo install --locked` pins rcodesign's dependency tree. I verified the lockfile resolves with the patch at the pinned revision. - `sign_darwin.sh` takes `AC_PKCS11_CREDENTIALS_FILE` and sets `GOOGLE_APPLICATION_CREDENTIALS` only for `rcodesign`. The `release-signer` credentials no longer reach the whole `make` step. - The jsign jar is now verified against a pinned sha256. ## Validation - `make lint/actions/actionlint` passes. zizmor (offline, strict collection) reports no findings. shellcheck passes on every `run` block in the composite actions. - I dry-ran the signing-material and target-parsing logic locally. The kmsp11 config renders correctly and files are mode 600. Multi-line targets parse correctly. - Not run: a real signed build. The first main run after merge should show `.asc` and `.v2.asc` files, rcodesign and jsign output, `coder-preview:main` pushed and dogfood deployed. A release dry run from `main` covers `release.yaml` once #56 lets the `release` environment run on `main`; release branches still carry the old `release.yaml`. ## Follow-ups (manual) - After the first successful signed main build and release, delete `AC_CERTIFICATE_P12_BASE64` and `AC_CERTIFICATE_PASSWORD`. - The Rust toolchain is still whatever `stable` the runner has. Rebuilding rcodesign without the cache adds a few minutes to each signed build. The `release` environment changes and the release-branch `ci.yaml` signing are handled in coder/github-org-terraform#56 and coder/gcp#343. ## Merge order (all 8 PRs) coder/gcp applies on merge, so the order matters. 1. coder/github-org-terraform#56: the `code-signing` environments, tag rulesets, and coder/coder `release` and `release-publish` allowing `main`. This must be applied before an RC can be dispatched from `main`. 2. coder/gcp#343, then coder/coder#32229 right after. Signed `ci.yaml` builds on `main` fail between those two. `release/2.37` to `2.39` keep signing through `ci.yaml` under #343's temporary rule until 2027-02-16. 3. coder/coder-desktop-windows#192, coder/mutagen#19, coder/pr-buddy#69 and coder/xum#8170. 4. coder/gcp#347. Windows signing in those 4 repos breaks if this lands before step 3. <details> <summary>Plan and decision log</summary> **Goal:** main and `release/*` pushes build coderd fully, sign everything (EV, Apple, GPG and KMS GPG) the same way releases do, push `coder-preview`, and deploy dogfood. PRs get a compile check with no signing access. **Verified constraints:** - Signing secrets exist only in the `ci-signing` and `release` environments. There are none at the repo or org level. - `ci-signing` allows `main` and `release/*`. `release` requires `release-managers` with self-review prevented, and admins can't bypass. - `ev-code-signing` (coder-ci) and `release-signer` (coder-release-signing) are bound only to the `environment:ci-signing` and `environment:release` subjects. - The `release-signer` provider condition checks `job_workflow_ref`. A reusable workflow would change that claim, so the shared code is a composite action that runs inside the caller's job. This also keeps the release job as a single job, with no artifact handoff between build and publish. **Decisions:** - The new workflow is named `build.yaml`. - There is no cutover period, so the provider names only `build.yaml`. - Main builds are signed identically to releases. Only notarization and publishing differ, because main doesn't build darwin archives. - `release/*` still gets `coder-preview:release-X.Y` images. - PR `check-build` builds slim binaries only, which keeps the cross-compile coverage at a fraction of the cost. </details> |
||
|
|
a97894bf03 |
ci: refuse to tag a commit that was already released (#32240)
`version.sh` fails when the released commit has two release tags, with a misleading "not tagged with an annotated tag" error. Re-releasing without a new commit (v2.39.3, v2.38.9, v2.37.13) tagged the same commit as the previous release, failed at "Print version", and left a stray tag that only the release App can remove. This fails before creating the tag instead, saying the commit was already released and to merge a new commit. 🤖 Generated with [Claude Code](https://claude.com/claude-code) |
||
|
|
a8ed5a1b65 | ci: sign darwin binaries with an Apple signing key in Google Cloud KMS (#32211) | ||
|
|
b83a339e03 | chore: add optional Cloud KMS dual signing for release GPG signatures (#32209) | ||
|
|
3c953d2ae4 |
ci: use GitHub App tokens instead of the cdrci machine-user tokens (#32218)
## Summary Replaces the `cdrci`/`cdrci2` personal access tokens in three workflows with short-lived GitHub App tokens. Each token is scoped to one repository and the permissions it needs. | Workflow | Was | Now | | --- | --- | --- | | `aigateway-prices-refresh` | `CDRCI_GITHUB_TOKEN` | `coder-automations` App: contents + pull requests write on `coder/coder`. App-opened PRs still trigger CI. | | `contrib` (CLA) | `CDRCI2_GITHUB_TOKEN` | `coder-cla` App: contents write on `coder/cla` only. | | `audit-docs-paths` | `CDRCI_GITHUB_TOKEN` | `coder-ci-reader` App: contents read on `coder/coder.com` only. | The App IDs and keys are already in the `main` environment, which all three jobs already use. Nothing else in the jobs changes. The `CDRCI_GITHUB_TOKEN` uses in `release.yaml` (winget) are separate: they need a token for a fork on a personal account, which an App can't provide. ## Testing - `actionlint` is clean. - `zizmor`: no new findings. The two it reports (the archived CLA action, and `community-label`'s token) were already on `main`. - After merge: dispatch `aigateway-prices-refresh` once, and comment `recheck` on a community PR to confirm the CLA bot. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
12766eca93 |
ci: create release tags and branches with the release App after approval (#32212)
## Summary **Unblocks releases after the `coder/coder` lockdown.** Only the `coder-release-publisher` App can now create tags and release branches (rulesets "Release tags (App only)" and "Release branch creation", managed in `coder/github-org-terraform`). Its key is only available in environments that need a **second release manager's approval** (`release-managers`, no self-review, no admin bypass). People can't push release tags anymore, so the tag is now created **inside the approved release run**. ### Releasing (`./scripts/release.sh` works as before, minus one step) 1. Run `./scripts/release.sh` on `release/X.Y` (or `main` for an RC), as today. It still picks the version, checks open PRs and breaking changes, and writes the release notes. 2. Instead of creating and pushing the tag, it checks the commit is already on `origin/<branch>` and dispatches `release.yaml` **on the branch** with `version`, `commit`, `release_channel` and `release_notes`. 3. The releaser prints the run's URL. GitHub also notifies the `release-managers` reviewers. **Another release manager approves** the run's `release` environment (Review deployments). 4. The approved job creates the annotated tag `version` at `commit` with the App, then builds, signs and publishes that commit as before. `release.yaml` can also be run by hand from the Actions UI with the same inputs. ### `release.yaml` - New `version` and `commit` inputs (required unless `dry_run`). - The `release` job checks out `commit`. Before anything else, it: - refuses a malformed version; - refuses a version that doesn't match the branch (`release/X.Y`, or `main`/`release/X.Y` for `-rc.N`); - refuses a commit that isn't already on the dispatched branch; - refuses an existing tag that points elsewhere; - otherwise creates the annotated tag with the App. A re-run reuses a tag already at that commit. `version.sh` and the rest of the job are unchanged. - **Homebrew and the `coder/packages` dispatch use the new `coder-package-publisher` App** (`release-publish` environment) instead of `CDRCI_GITHUB_TOKEN`. The dispatch moves to its own `publish-packages` job in `release-publish`, where that key lives; it's approved together with Homebrew and winget. Winget still uses the `cdrci` machine user, since an App can't open PRs on `microsoft/winget-pkgs`. - Every App token is scoped to one repository and the permissions it needs (`zizmor`'s `github-app` audit: 5 high findings to 0, one of which predates this PR). ### `create-release-branch.yaml` (new) Dispatched on `main` with `version` (e.g. `2.40`) and `commit`. After approval in the `release-refs` environment, it creates `release/X.Y` at that commit, refusing one that isn't on `main` or a branch that already exists. ### `scripts/releaser` - `ReleaseExecutor` drops `CreateTag`/`PushTag`. - `TriggerWorkflow` dispatches on the branch with `version` and `commit`. - An existing tag must already point at HEAD. - After dispatching, it looks up the run (`gh run list`, polling briefly) and prints its URL and the approval steps. ## Before merging - [ ] `RELEASE_APP_ID` and `RELEASE_APP_PRIVATE_KEY` set in the **`release-refs`** environment (currently empty), and the rotated release App key in `release`. - [x] `CODER_PACKAGE_PUBLISHER_APP_ID` / `CODER_PACKAGE_PUBLISHER_APP_PRIVATE_KEY` in `release-publish`; App installed on `homebrew-coder` and `packages`. ## After merging: backport to every branch you release from `release.yaml` runs from the dispatched branch's own copy, and `./scripts/release.sh` runs the branch's releaser. So **each `release/X.Y` needs this change before it can release**. Active lines by recent tags: `release/2.39`, `2.38`, `2.37`, `2.36`, `2.35`, `2.34`, `2.29`. ## Relation to #31321 #31321 (`Tag release`) runs the releaser non-interactively in CI. This PR is the smaller change that unblocks releases now. #31321 can build on it: its tagging job would need `environment: release-refs` (where the App key lives) plus the extra App permissions it asks for, which are a manifest change in `coder/github-org-terraform` `apps/`. ## Testing - `go build`, `go vet`, `go test ./scripts/releaser` pass. - `actionlint` and `zizmor` are clean on both workflows. - Not exercised end to end. Suggest the first use be an RC (`v2.40.0-rc.N` from `main`), watching the tag step. 🤖 Generated with [Claude Code](https://claude.com/claude-code) --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
9bafd0a525 | ci(.github): skip a doc-check run when the PR head already has a finished review (#32198) | ||
|
|
a921700974 | ci: report only wrong, missing, and broken findings in CI doc-check reviews (#32199) | ||
|
|
dc55633b47 |
ci(.github): start a new doc-check chat per run and stop it when the run ends (#32185)
## Summary doc-check reused one chat for every push to a PR, and a review kept running in Coder after its job stopped waiting for it. This PR starts a new chat for each run, waits up to 5 hours for it, and stops the review and its workspace when the run ends for any reason. On dogfood at 2026-11-13 17:28 UTC, 58 doc-check review chats and 45 of their sub-agents had status `running`, while 5 workflow runs were in progress and 1 was queued. 34 of the 58 chats were created before that day, and the oldest on 2026-09-29. The count covers only chats shared with me, so it is a lower bound. This combines the workflow half of #32061 with the stop script from #31720, and changes no skill file. ## Changes - **New chat per run.** `force-new-chat` replaces the one chat per PR, so a re-run no longer carries every earlier turn on the PR. The prompt gets a `## Previous run` section with the `doc-check-trace` of the latest finished review. - **One workspace per PR.** The job finds `doc-check-pr-<N>`, wakes and starts it, and passes its ID to the chat. On the first run the chat creates the workspace under that name. - **A started review finishes; pushes are debounced.** The review job's concurrency group is keyed on the PR URL with `cancel-in-progress: false`. GitHub keeps one pending run per group and replaces it on each push, so the next review covers the latest head. A `debounce` job sleeps 5 minutes on `synchronize`, in its own group with `cancel-in-progress: true`, so a burst of pushes starts one review. Other triggers do not wait. Merging the PR still cancels a running review (the `delete-workspace` job keeps `cancel-in-progress: true`), then deletes the workspace. - **Every run stops its review.** `.github/scripts/doc-check-stop-review.sh` runs before the review and in a final `always()` step. It drops queued messages, interrupts the chat and its sub-agents, and stops the workspace. - **5-hour wait.** `wait-timeout-seconds` goes from 2400 to 18000, and the job timeout from 50 to 330 minutes. The job now stays in its concurrency group for the whole review, so the next run for the PR waits for it. - **Previous trace lookup.** `.github/scripts/doc-check-previous-trace.sh` reads the 5 newest review chats for the PR and prints the first trace with an `outcome:` line. It reads more than one chat because a cancelled run's chat has no trace. A failed lookup costs only that context and never fails the job. - The `GITHUB_OUTPUT` delimiter for the prompt is random, because the trace is model output. ### Behavior changes to check | Before | After | Why | |--------|-------|-----| | A review past the wait ended the job with a green notice and kept running (#32097) | The last step stops the review, and the job fails | Nothing watches a review after the job ends | | A review kept running after its PR merged | The merge cancels the run | The result has no reader | | The `doc-check` label forced one review, on the `labeled` event | The label forces a review on every push until it is removed | The push run would otherwise skip on paths with no docs surface | | Runs for one PR queued | A started review finishes; pushes during it collapse into one pending run for the latest head, after a 5-minute debounce | Cancelling threw away prefill and starved busy PRs of a verdict | ## Testing Static checks, all passing: `actionlint`, `zizmor`, `shellcheck --external-sources`, and `shfmt -d`. Script tests, run locally: - `doc-check-stop-review.test.sh`: 48 cases against a fake API. - `doc-check-previous-trace.test.sh`: 22 cases, including CRLF in the trace text and in the PR URL. - Mutation check on the trace script: 25 one-line breaks, and the suite failed on 24. The survivor was a redundant trim, which I removed. - The trace extraction ran against 12 real finished doc-check chats on dogfood and returned a trace for all 12 (750 to 3,500 characters). End to end on dogfood, on this PR, 2026-11-13 UTC: | Run | Trigger | Result | |-----|---------|--------| | [1](https://github.com/coder/coder/actions/runs/43474029515) | dispatch, 17:33 | No workspace and no earlier chat. New chat created the workspace `doc-check-pr-32185` and had 2 running sub-agents at 17:48:23. | | [2](https://github.com/coder/coder/actions/runs/43476429715) | dispatch, 17:48:25 | Cancelled run 1 at 17:48:27. Run 1's last step interrupted the chat and both sub-agents and stopped the workspace by 17:48:51. Run 2 then started the same workspace, opened a second chat in it, finished clean at 17:52:54, and stopped the workspace. | | [3](https://github.com/coder/coder/actions/runs/43477511866) | dispatch, 17:55:08 | Cancelled by run 4 while the workspace was starting. Its last step stopped the workspace mid-start. No chat was created. | | [4](https://github.com/coder/coder/actions/runs/43477572348) | `ready_for_review`, 17:55:31 | Waited for run 3 to end, then opened a third chat in the same workspace. That chat's first message carries run 2's trace under `## Previous run`. | Not covered: - The 5-hour timeout path has not run live. The fake-API tests cover the script, and the summary text is a few lines of shell. - The merge path (`delete-workspace` cancelling a review) has not run live. - No CI job runs the two `.test.sh` suites. The workflow runs on `ubuntu-latest` only, and the scripts were not run on macOS or Windows. ## Follow-ups, not in this PR - Skip a run when the head SHA or the PR diff matches the last reviewed one. - Set a status on the head SHA from the trace. - Cancel a review when its PR closes without merging. Supersedes #31720 and the workflow half of #32061. Linear: DOCS-1745 <details> <summary>Plan and decision log</summary> This is PR 1 of a 5-part stack from the design doc "Design: reliable, low-cost doc-check on Solstice". 1. Workflow base: new chat per run, previous trace, workspace ID, 5-hour wait, cancel-in-progress, and the stop script. **This PR.** 2. Skip in Actions: same head SHA, same PR diff, and a delta since the last reviewed SHA with no docs surface. 3. Visible outcome: a status on the head SHA from the trace, for clean, findings, error, and skipped. 4. Packet and lint in Actions: PR data, diffs, open threads, and deterministic check results, written once. 5. Skill: scope to wrong, missing, and broken, tiers, a sub-agent cap, and one long wait. Gated by an eval. Decisions in this PR: - **Why this first.** A re-run's first prompt was 1.01 times the previous run's last prompt, so each push re-sent the whole history of the PR. A new chat per run removes that, and stopping stale reviews removes load that no job is watching. - **5 hours, not 25 or 40 minutes.** Reviews on the local model took a median of 61 minutes when clean and 247 minutes with findings (2026-11-04 to 11-11). A shorter wait would stop most reviews with findings before they post. With `cancel-in-progress`, a new push still ends the review of the old head at once. - **A timeout fails the job.** This reverses #32097, where a timeout was a notice. A green job with no review reads as a clean result. - **The stop runs twice.** The first step catches a review left by a run whose last step did not finish, for example a runner that died. - **The trace lookup is a script with tests, not inline YAML.** It parses model output, and it has to handle chats with no trace, a trace with no outcome, and CRLF. - **The trace is passed as a record, not as instructions.** The prompt says so, and asks for a review of the whole PR. A delta review needs the skip logic and the ledger from later PRs in the stack. - **No skill change.** The skill changes are gated by an eval that does not exist yet. </details> Follow-up commit `64a09655a1` (finish-then-rerun and debounce) generated by Coder Agents on behalf of @bpmct. _Generated by Coder Agents on behalf of @nickvigilante._ --------- Co-authored-by: Ben Potter <me@bpmct.net> |
||
|
|
b71e1d492a | ci: log in to Docker Hub right before the dogfood push (#32130) | ||
|
|
ddf89cc69a | ci: run dogfood build_image in the main environment on main (#32123) | ||
|
|
13e673e9c2 |
ci: build docs PR previews on per-PR preview sites (#30698)
Docs previews at `coder.com/docs/@<branch>` share coder.com's origin and cookies with the real site. This publishes each pull request's docs as its own site on `docs.cdr-preview.dev`, a domain used only for previews (repository variable `DOCS_PREVIEW_DOMAIN`), and points the existing `docs-preview` comment's per-page links and checkboxes at it. ## URLs - `https://pr-<n>.docs.cdr-preview.dev`: the PR head, re-aliased on every build. A slower build of an older commit doesn't take it back. - `https://pr-<n>-<first 9 of sha>.docs.cdr-preview.dev`: one per built commit, listed newest first in a collapsible "Preview sites" list in the PR's docs preview comment, so reviewers can step through the branch. - Every URL is built from `vars.DOCS_PREVIEW_DOMAIN` (aliases, comment links, cleanup); nothing hard-codes the domain. Previews moved off `coderite.app`, which also hosts login-protected internal sites, so a preview page whose content any coder/coder writer controls would have been same-site with them. `cdr-preview.dev` hosts nothing else, and the docs previews sit under `docs.` so other preview kinds can get their own subdomain later. The jobs fail with a clear error if it is unset or a `vercel.app` name, because `*.vercel.app` names are first-come across all Vercel accounts and anyone could claim a preview's name before our deploy or after cleanup frees it. - Every preview carries the docs CSP and the other headers from docs-engine's `apps/offlinedocs/vercel.json`, plus `X-Robots-Tag: noindex`, which the deploy job prepends to the Build Output API `config.json` routes without touching the existing ones. - On merge or close, every deployment tagged `pr=<n>` and its aliases are deleted. A weekly groom (Mondays 07:23 UTC, also `workflow_dispatch`) deletes previews of any closed PR, in case a close event was missed. ## Who gets previews Only PRs from a branch in coder/coder, on every push that touches `docs/**`. Every job in the deploy workflow, and the close path of the cleanup, requires `github.event.pull_request.head.repo.full_name == github.repository`. Fork PRs get no preview for now. Building fork content in a `pull_request_target` run would share the base branch's Actions cache scope, so a fork could poison main's cache, and it would sit beside the private engine source. Fork previews come in a follow-up once the build runs in a no-network sandbox (or the public builder kit ships). That follow-up will gate on a maintainer stating the exact approved commit, not on a label, so a push after approval can't slip in. ## One comment, posted only after a deploy `docs-preview.yaml` is now a reusable workflow (`workflow_call` only). The deploy workflow's `comment` job calls it after `deploy` succeeds, so the per-page links never point at a preview that doesn't exist yet. I chose this over moving the per-page logic into the deploy job: the existing comment logic and its mapper test stay as they are, and only the trigger changes. Each PR gets at most one bot comment. The deploy job posts nothing; it passes the built commit (`short_sha`) to `docs-preview.yaml`, which adds a collapsible "Preview sites for each built commit" list to its comment, newest first, read back from the comment on each run and capped at 100. That comment is only posted when a non-generated page or an image changed: a PR that changes only `docs/reference/**` (generated CLI and API pages), or nothing previewable, gets no comment, and an earlier one is deleted. Engineers found the earlier two-comment version too noisy. If the comment is deleted that way and a later push brings it back, its commit list starts over; the earlier previews still exist until the PR closes. ## Three jobs, so PR content never runs beside a secret 1. `engine`: checks `DOCS_PREVIEW_DOMAIN` first, reads the docs-engine commit pinned in `docs/.engine-ref` (from the PR head, falling back to the base for a branch that predates the pin), mints a short-lived token from a GitHub App installed only on coder/docs-engine, downscoped to `contents: read` on that one repository, checks out with `persist-credentials: false`, and uploads a tarball plus its sha256 as a job output. Never touches PR content. 2. `build`: no secrets, `contents: read` only. Verifies the engine tarball against the digest, sparse-checks out the PR's `docs/`, refuses a `docs/` that is or contains a symbolic link (one could pull runner files, such as the private engine source, into a public preview), builds `apps/offlinedocs` with `DOCS_ROOT` as docs-engine's own `docs-pr-preview.yml` does, and uploads only the static `out/` export. 3. `deploy`: in the `docs-preview` environment with `VERCEL_PREVIEW_TOKEN`. Verifies the engine tarball against the digest again (a compromised build job could replace an artifact, but not a job output), refuses an export holding anything but regular files and directories, lays the static files out with the engine's `build:output` script, adds noindex, runs `vercel deploy --prebuilt` with meta `pr` and `sha`, and sets both aliases through the Vercel API. It holds only `pull-requests: read`, for the check that the PR head hasn't moved before re-aliasing; the `comment` job posts the comment. It runs the engine's trusted script rather than taking `config.json` from the build job, because a Build Output directory from another job could carry serverless functions or rewritten routes. `docs-pr-preview-cleanup.yaml` keeps `pull_request_target: closed` so a PR can't change its own cleanup; it checks out nothing and runs no PR content, only Vercel and GitHub API calls. Fork PRs have no previews, so their close is skipped. PR-chosen strings never reach a log line unfiltered: the comment workflow prints changed reference-page paths with every character outside a path allowlist as `?`, so a file name can't forge a `::` or `##[` workflow command, and the deploy job's errors name no path. ## Engine pin `docs/.engine-ref` now pins docs-engine `main` at `eadb477`, the engine `coder.com/docs` launched with on 2026-10-28 (was `e3c55c2`; an earlier revision of this PR pinned `5584d67`). The commands the workflow runs are unchanged between them. `e3c55c2` already had the `build:output` script, but the newer engine refuses a symlinked docs root, renders search hits without raw HTML, drops author-chosen heading ids that could break hydration, and pins Node 22.23.4, which the build and deploy jobs now use too. The commands the workflow runs (`pnpm turbo run build --filter=@coder/offlinedocs` and `apps/offlinedocs/scripts/build-output.mjs`) are unchanged at `5584d67`. The pin must be a commit on docs-engine `main`. The `engine` job checks docs-engine out with full history and fails before packing unless `git merge-base --is-ancestor "$REF" origin/main` passes. Once docs-engine is public, a commit pushed to any fork of it can be fetched by SHA through `coder/docs-engine`, so the 40-hex format check alone would let a PR build with unreviewed engine code. `test-docs-preview-mapper.sh` pins that the check runs in the `engine` job, before the pack step, against a full-history checkout. ## Before this can run Checked on 2026-11-12: IT registered `cdr-preview.dev` in Vercel on team `team_tGkWfhEGGelkkqUUm9nXq17r`, with Vercel nameservers, so `*.docs.cdr-preview.dev` needs no DNS or wildcard step. IT also set `docs.cdr-preview.dev` as the `coder-docs-pr-preview` project's own preview deployment suffix and removed `coderite.app` from it, so the project's generated deployment URLs land on the preview domain too, not on the team's `coderite.app` suffix; the first deploy will confirm that. The project has Vercel Authentication and password protection off. The secrets `DOCS_ENGINE_APP_ID` and `DOCS_ENGINE_APP_PRIVATE_KEY` exist. `DOCS_PREVIEW_DOMAIN` is set to `docs.cdr-preview.dev`. The `docs-preview` environment exists (created 2026-10-28) with no protection rules and no branch policy, and holds `VERCEL_PREVIEW_ORG_ID` and `VERCEL_PREVIEW_PROJECT_ID`, and `VERCEL_PREVIEW_TOKEN` was stored on 2026-11-12. - [ ] **GitHub App** (org owner; requested in DOCS-1739). Confirm the app behind `DOCS_ENGINE_APP_ID` is installed on coder/docs-engine only ("Only select repositories") with Repository permissions Contents: Read-only and Metadata: Read-only and nothing else, at https://github.com/organizations/coder/settings/installations. The workflow also downscopes each token to `contents: read` on docs-engine, so the installation is the outer bound. - [x] **Repository variable**, set on 2026-11-12. Set it at repository level, not on the environment, because the `engine` job and `docs-preview.yaml` run outside it: ```sh gh variable set DOCS_PREVIEW_DOMAIN -R coder/coder --body docs.cdr-preview.dev ``` - [x] **Vercel Authentication off** on `coder-docs-pr-preview` (`prj_RiVa1voPHmsfbEXkasFDXmYqAr0L`): checked on 2026-11-12, `ssoProtection` and `passwordProtection` both report `enabled: false`. - [x] **Preview domain** (IT): `cdr-preview.dev` registered with Vercel nameservers, and `docs.cdr-preview.dev` set as the project's preview deployment suffix. - [x] **Project-scoped Vercel token**, 90-day expiry (created 2026-11-12, expires about 2027-02-10; a rotation reminder is set for 2027-02-09). The three checks below returned `200`, `404` and `403`. Create it at https://vercel.com/account/settings/tokens, scoped to the `coder-docs-pr-preview` project only (`vercel tokens create --project` is refused for non-owners). Then check, with the new token in `$VERCEL_PREVIEW_TOKEN`, that it can list the project's deployments (`200`), reach the team-level alias API (`404`, not `403`), and cannot see the production `coder-docs` project (`403` or `404`, never `200`): ```sh curl -sS -o /dev/null -w '%{http_code}\n' -H "Authorization: Bearer $VERCEL_PREVIEW_TOKEN" \ "https://api.vercel.com/v6/deployments?teamId=team_tGkWfhEGGelkkqUUm9nXq17r&projectId=prj_RiVa1voPHmsfbEXkasFDXmYqAr0L&limit=1" curl -sS -o /dev/null -w '%{http_code}\n' -X DELETE -H "Authorization: Bearer $VERCEL_PREVIEW_TOKEN" \ "https://api.vercel.com/v2/aliases/pr-0.docs.cdr-preview.dev?teamId=team_tGkWfhEGGelkkqUUm9nXq17r" curl -sS -o /dev/null -w '%{http_code}\n' -H "Authorization: Bearer $VERCEL_PREVIEW_TOKEN" \ "https://api.vercel.com/v6/deployments?teamId=team_tGkWfhEGGelkkqUUm9nXq17r&projectId=prj_pC4y7hjUgcsYYNoSDL7pNJnafzh3&limit=1" ``` - [x] **`docs-preview` environment**: it exists with no branch policy (because `pull_request` runs on the merge ref) and its two variables are set. Only the token is left: ```sh gh secret set VERCEL_PREVIEW_TOKEN -R coder/coder --env docs-preview ``` `gh secret set` prompts for the token so it stays out of shell history. - [ ] **Security sign-off** (Lisa), on these points: - **Preview domain.** Previews now live on `docs.cdr-preview.dev`, which hosts nothing else, so they are no longer same-site with the login-protected sites on `coderite.app`. Previews are same-site with each other, so one PR's preview could set a cookie the others receive. Anything added to `cdr-preview.dev` later should stay outside `docs.` and not rely on cookies scoped to the parent domain. The docs CSP allows inline scripts, and any coder/coder writer controls a preview's content. - Any coder/coder writer can reach `VERCEL_PREVIEW_TOKEN` by editing the workflow on a branch, as with any secret a `pull_request` deploy uses. The token is scoped to the one preview project to bound that; required reviewers on the environment would close it, at the cost of an approval per preview. - The engine commit comes from the PR's `docs/.engine-ref`, so the engine code that lays out the export in the deploy job is PR-chosen, but only among commits on docs-engine `main`. It runs before, not in, the step that holds the token. - [ ] **Mark ready for review** once the items above are done and a docs push to this PR has produced a working preview. ## Testing `test-docs-preview-mapper.sh` checks that `docs-preview.yaml` reads the domain from `vars.DOCS_PREVIEW_DOMAIN`, builds links on `pr-<n>.<domain>` from the validated value with no `coder.com/docs/@` or `vercel.app` link, and runs only as a reusable workflow called after `deploy`. It also checks the per-commit list (this commit first, earlier ones carried, repeats and other PRs' lines dropped, capped at 100), that the list round-trips through the comment it renders without touching checkbox state, and that the deploy job posts no comment and passes its commit on. All 58 checks pass (run with GNU coreutils, sed, grep and awk on macOS); the new workflow check failed before the change. `actionlint` at the repo's pinned commit, with ShellCheck, reports nothing, and so does the repo's pinned zizmor 1.11.0 (`--strict-collection --persona=regular`). The noindex step was run against a `config.json` from docs-engine's real `build-output.mjs`: the route count went from 11 to 12 with the CSP route intact. With the variable, environment and token in place, the `engine` and `build` jobs pass on this PR, including the check that the pinned engine commit is on docs-engine `main`. The first deploy failed at `vercel pull` with "Could not retrieve Project Settings": Vercel CLI 59.3.0 looks up the token's team (403 for a project-scoped token) and gives up, although the token reads the project (200). Run locally with the same token, 65.11.0 skips that lookup and pulls the settings, so the workflow now pins 65.11.0, the newest release more than a week old. The deploy, alias and cleanup calls have not completed in CI yet. --- 🤖 Built with AI assistance. |
||
|
|
6171bee0b2 | ci: use OIDC for Depot and Docker Hub in dogfood (#31882) | ||
|
|
e49fe29600 |
ci(.github/workflows): don't fail doc-check when the review outlives the wait (#32097)
The doc-check chat keeps running in Coder after the job stops waiting at 40 minutes, and it posts its own comment when it is done. When the local model is busy, reviews run past the wait and the check goes red even though nothing failed. 33 of 46 doc-check runs today ended red this way, including on #32088, #31788, #31621 and #31620. ## Changes - `continue-on-error` on the agents-chat-action step. - New step that ends with a notice when the wait timed out and the chat is still `running` or `pending`, and fails the job for every other error. Generated by Coder Agents on behalf of @bpmct. |
||
|
|
6f22a88a51 |
ci: remove coder[bot] and Blink bots from CLA allowlist (#31496)
Removes `coder[bot]`, `blinkagent*`, and `blink-so*` from the CLA assistant allowlist in `.github/workflows/contrib.yaml`, so PRs authored by these bots are no longer exempt from the CLA check. Remaining bots in allowlist: * `dependabot*` for backport PRs * `coder-backporter-app[bot]` for backports |
||
|
|
73643176b6 |
ci(.github): add self-hosted test-go-pg variant (#31938)
Add a standalone `test-go-pg-self-hosted` workflow that runs the same Linux test suite as `test-go-pg` but on `coder-large` runners. It runs only on pushes to `main` and manual `workflow_dispatch` events, and only when the repository owner is `coder`. These runners are backed by Coder workspaces. For more details see [this Slack thread](https://codercom.slack.com/archives/C05AE94121Z/p1794226562056679). |
||
|
|
eb616306f0 | ci: run main-only secret consumers in the main environment (#31763) | ||
|
|
2e7ae8bea2 |
ci(.github/workflows): alert Slack when the dogfood image build fails on main (#31710)
The dogfood image workflow had no failure alert. Its main runs on 2026-11-02 and 2026-11-03 failed on network errors and nobody re-ran them, so workspaces kept pulling the 2026-10-27 image until a manual re-run on 2026-11-03. Add the notify-slack-on-failure job from ci.yaml and nightly-gauntlet.yaml, which posts to the CI failure channel and mentions the CI failure bot when build_image fails. It runs only on main, the only ref that pushes the image. |
||
|
|
3bcf67f3ba |
fix(.github/workflows): build dogfood images from the checkout (#31777)
Depot's cached clone of coder/coder still has the `test` branch, which was deleted on 2026-06-09. When a commit is missing from the clone, Depot fetches every branch, and git cannot create the `test/*` branches next to `origin/test`. 35 of the 42 retained main push builds (2026-08-19 to 2026-11-05) fell back to buildx without Depot's layer cache because of it. Passing the checked-out tree as the context removes the fetch. |
||
|
|
3f547f6a61 |
ci(.github/workflows): stop falling back to buildx in the dogfood build (#31851)
The fallback was added in #11538, when Depot builds failed because the Depot trial had ended and the job ran on GitHub's ubuntu-latest. The job has run on Depot's own runners since #16223, so the fallback only covers a Depot build failure while Depot's runners still work. In the retained logs it only ever hid one problem: 35 main builds fell back because of a stale branch in Depot's git clone, with a warning annotation as the only trace. Fallback builds have no layer cache, so they refetch every package and take minutes instead of seconds. A Depot failure now fails the build. The buildx setup step existed only for the fallback. |
||
|
|
8b5b5d19c0 |
ci: run the docs checker tests in lint-docs (#31768)
#31647 was a docs-only PR, but it broke `TestRepositoryManifest` on `main` (fixed in #31764). That test reads the committed `docs/manifest.json`, and the Go test jobs skip PRs that don't touch Go, so nothing ran it until it merged. On a docs-only PR the Go code can't change, so the only Go tests that can start failing are the ones that read the committed docs. Right now that's just `scripts/docsredirectscheck` and `scripts/docsgenfiltercheck`, and `./scripts/docs...` covers both. So, we'll just run `go test ./scripts/docs...` in `lint-docs`, which already runs whenever docs change and is part of `required`. The job now installs Go as well. I've skipped `go mod download`, as these tests only need 6 modules; from an empty module and build cache it took 6s locally. |
||
|
|
1986b94265 |
ci: allow docs changes under any PR title scope (#31773)
I ran into this on a `feat(site)` PR that also updated the docs: ``` Error: PR title scope "site" does not contain all changed files. Files outside scope: - docs/coder-agents/index.md ``` A frontend or CLI change that comes with a docs update shouldn't have to drop its scope, so the title check now just ignores files under `docs/` when the scope is outside `docs/`. The scope still has to match at least one changed file, and scopes under `docs/` (e.g. `docs(docs/admin)`) are as strict as before. I've updated the rule in `AGENTS.md` and the PR style guide to match. As the check runs on `pull_request_target`, this only takes effect once it's on `main`. |
||
|
|
2b7f03deea |
feat: replace Emoji Mart with Frimousse in the emoji picker (#30526)
> 🤖 This PR was modified by Coder Agents on behalf of Jake Howell. An alternative to #30361 for DEQ-67 ("Focus indicator is missing" on the template builder Customizations step). Instead of patching focus handling into Emoji Mart's shadow DOM, this replaces Emoji Mart (last released April 2024) with [Frimousse](https://frimousse.liveblocks.io), a headless picker that we style with Tailwind and our theme tokens. Fixes DEQ-67 Fixes DEQ-303 Fixes DEQ-201 Fixes DEQ-83 Also fixes 181 `aria-allowed-attr` tickets from Emoji Mart: 180 for `aria-posinset`/`aria-setsize` on its emoji buttons, and DEQ-370 for `aria-selected` on its category buttons. Frimousse renders a `grid` of `gridcell`s instead, and the category buttons use `aria-current`. - DEQ-303 (`scrollable-region-focusable`): the emoji grid is now a tab stop. - DEQ-201 (selected state of the category buttons): the current category has `aria-current`. - DEQ-83 (skin-tone button has no expanded state): the button now cycles tones in place and no longer opens a menu. <details> <summary>aria-allowed-attr tickets (181)</summary> Fixes DEQ-7 Fixes DEQ-8 Fixes DEQ-9 Fixes DEQ-11 Fixes DEQ-17 Fixes DEQ-18 Fixes DEQ-19 Fixes DEQ-26 Fixes DEQ-27 Fixes DEQ-30 Fixes DEQ-31 Fixes DEQ-33 Fixes DEQ-34 Fixes DEQ-41 Fixes DEQ-44 Fixes DEQ-47 Fixes DEQ-53 Fixes DEQ-57 Fixes DEQ-58 Fixes DEQ-65 Fixes DEQ-69 Fixes DEQ-71 Fixes DEQ-72 Fixes DEQ-73 Fixes DEQ-75 Fixes DEQ-77 Fixes DEQ-78 Fixes DEQ-80 Fixes DEQ-84 Fixes DEQ-85 Fixes DEQ-87 Fixes DEQ-89 Fixes DEQ-90 Fixes DEQ-96 Fixes DEQ-97 Fixes DEQ-98 Fixes DEQ-103 Fixes DEQ-109 Fixes DEQ-110 Fixes DEQ-113 Fixes DEQ-114 Fixes DEQ-116 Fixes DEQ-117 Fixes DEQ-119 Fixes DEQ-120 Fixes DEQ-123 Fixes DEQ-126 Fixes DEQ-129 Fixes DEQ-131 Fixes DEQ-135 Fixes DEQ-136 Fixes DEQ-153 Fixes DEQ-154 Fixes DEQ-157 Fixes DEQ-158 Fixes DEQ-160 Fixes DEQ-165 Fixes DEQ-170 Fixes DEQ-171 Fixes DEQ-173 Fixes DEQ-175 Fixes DEQ-179 Fixes DEQ-181 Fixes DEQ-185 Fixes DEQ-187 Fixes DEQ-188 Fixes DEQ-189 Fixes DEQ-192 Fixes DEQ-200 Fixes DEQ-202 Fixes DEQ-206 Fixes DEQ-212 Fixes DEQ-217 Fixes DEQ-220 Fixes DEQ-227 Fixes DEQ-229 Fixes DEQ-239 Fixes DEQ-240 Fixes DEQ-241 Fixes DEQ-245 Fixes DEQ-246 Fixes DEQ-247 Fixes DEQ-249 Fixes DEQ-251 Fixes DEQ-258 Fixes DEQ-262 Fixes DEQ-265 Fixes DEQ-270 Fixes DEQ-280 Fixes DEQ-282 Fixes DEQ-286 Fixes DEQ-296 Fixes DEQ-314 Fixes DEQ-315 Fixes DEQ-320 Fixes DEQ-322 Fixes DEQ-325 Fixes DEQ-326 Fixes DEQ-327 Fixes DEQ-334 Fixes DEQ-335 Fixes DEQ-343 Fixes DEQ-345 Fixes DEQ-347 Fixes DEQ-349 Fixes DEQ-353 Fixes DEQ-359 Fixes DEQ-360 Fixes DEQ-362 Fixes DEQ-367 Fixes DEQ-368 Fixes DEQ-369 Fixes DEQ-370 Fixes DEQ-372 Fixes DEQ-373 Fixes DEQ-375 Fixes DEQ-377 Fixes DEQ-380 Fixes DEQ-382 Fixes DEQ-389 Fixes DEQ-404 Fixes DEQ-405 Fixes DEQ-410 Fixes DEQ-413 Fixes DEQ-414 Fixes DEQ-415 Fixes DEQ-416 Fixes DEQ-421 Fixes DEQ-422 Fixes DEQ-423 Fixes DEQ-425 Fixes DEQ-429 Fixes DEQ-432 Fixes DEQ-435 Fixes DEQ-439 Fixes DEQ-442 Fixes DEQ-444 Fixes DEQ-448 Fixes DEQ-450 Fixes DEQ-451 Fixes DEQ-457 Fixes DEQ-460 Fixes DEQ-464 Fixes DEQ-465 Fixes DEQ-466 Fixes DEQ-468 Fixes DEQ-472 Fixes DEQ-475 Fixes DEQ-478 Fixes DEQ-485 Fixes DEQ-488 Fixes DEQ-490 Fixes DEQ-491 Fixes DEQ-501 Fixes DEQ-506 Fixes DEQ-507 Fixes DEQ-510 Fixes DEQ-513 Fixes DEQ-515 Fixes DEQ-518 Fixes DEQ-521 Fixes DEQ-523 Fixes DEQ-527 Fixes DEQ-528 Fixes DEQ-529 Fixes DEQ-530 Fixes DEQ-534 Fixes DEQ-538 Fixes DEQ-544 Fixes DEQ-547 Fixes DEQ-549 Fixes DEQ-551 Fixes DEQ-553 Fixes DEQ-561 Fixes DEQ-562 Fixes DEQ-571 Fixes DEQ-580 Fixes DEQ-582 Fixes DEQ-584 Fixes DEQ-593 Fixes DEQ-595 </details> - **Focus indicators:** every control in the picker shows a 2px `ring-content-link` focus ring: the category buttons, search field, clear and skin-tone buttons, and the emoji grid. In the grid, DOM focus stays in the search field or grid while the arrow keys move the active emoji, the same model as Emoji Mart. The active emoji gets the same ring, measured at `rgb(97,166,250)` on `rgb(9,9,11)` in dark mode and `rgb(36,99,235)` on white in light mode. Frimousse announces the active emoji through a live region. - **Keyboard:** Tab order is search, skin tone, grid, then the category buttons; the popover loops back to search. Arrow keys move the active emoji while focus is anywhere in the picker, and Enter selects. - **Same UX as before:** category buttons across the top, with Icons last. One search covers Unicode emoji and the `icons.json` icons. The skin-tone selector stays. - **Same stored values:** emoji still save as `/emojis/<file>.png` (the existing Apple PNGs) and icons as `/icon/<file>`. The file names in `static/emojis` follow emoji-datasource's rule: they keep U+FE0F only after characters that default to text style (`263a-fe0f`), while Emojibase adds it after every character. `emojiToValue` drops it after characters that are already emoji-style. Emoji newer than the shipped Apple set (15.1) are left out, as are 3 symbols the set has no image for. - **No CDN:** the picker bundles `emojibase-data` instead of Frimousse's default jsDelivr fetch, which matters for air-gapped deployments. - **Spritesheet:** the grid draws emoji from one sheet, `static/emojis/sheet-15.1.2.png` (4.5 MB, from emoji-datasource-apple 15.1.2, the same release as the PNGs), preloaded with the picker chunk as Emoji Mart did. Frimousse virtualizes the grid, so with one PNG per tile every category jump cost about 100 requests (2.7 s at 150 ms latency); with the sheet it costs none. The sheet has a versioned name because `/emojis` is served with immutable caching and its layout differs from the old `spritesheet.png`. `pnpm update-emojis` regenerates the sheet and its cell map (`emojiSheet.ts`) with `scripts/generate-emoji-sheet.mjs`. Custom icons still render as images. - **Removed:** `emoji-mart`, `@emoji-mart/*`, their type shim, and the old `static/emojis/spritesheet.png` (emoji-datasource 15.0.1 layout). - **Patched Frimousse:** 0.4.0 numbers `aria-rowindex` and `aria-colindex` from 0, which axe reports as `aria-valid-attr-value` (ARIA requires 1 or more). `site/patches/frimousse@0.4.0.patch` (a pnpm patch) makes both start at 1 in `dist/index.js` and `dist/index.cjs`, and shifts the `[aria-rowindex=...]` lookup that keyboard scroll-into-view uses by the same amount. Renumbering in our `Row` component alone would break that lookup. The bundles are minified to one line, so the patch file is large, but it changes three expressions per file: `"aria-rowindex":t?void 0:e` to `e+1`, `"aria-colindex":t` to `t+1`, and `[aria-rowindex="${R}"]` to `${R+1}`. The source-level fix and regression coverage are submitted upstream in [liveblocks/frimousse#39](https://github.com/liveblocks/frimousse/pull/39). Remove the patch only after upgrading to a Frimousse release containing the fix. - Note for reviewers: vendoring Frimousse's source into `site/src/vendor` (as with `message-scroller`) was considered and would have made the same fix as three readable lines, but was rejected because we would own about 3,900 copied lines and re-sync them by hand on every upgrade. Lazy chunks (gzip): `EmojiPicker` 16 KB (including the 13 KB sheet cell map) + `emoji-picker` 107 KB, versus about 134 KB for Emoji Mart and its data. Known differences and risks: - Frimousse matches the query anywhere in a name or tag, while Emoji Mart matches word prefixes. "apple" also returns "people wrestling" (tag "grapple"). This was accepted during review. - Frimousse's docs say custom data must be Unicode emoji. Icons are entries whose `emoji` is the icon path, rendered as images by our `Emoji` component. This works in 0.4.0 because Frimousse only filters out unsupported emoji in its built-in data loader. `frimousse` is pinned, and tests fail if icons stop appearing in search or stop returning `/icon/...` values. - Not tested with NVDA or another screen reader. - Not fixed here: DEQ-130 (category labels aren't headings) and DEQ-115 (dark icons lack contrast). - Shrinking the bundled emoji data is left for a follow-up. - The sheet is quantized to 256 colors (as was Emoji Mart's), so a few gradients differ slightly from the stored PNGs. Until it loads, emoji tiles are blank. <details> <summary>Verification</summary> - Upstream-tracking follow-up: `pnpm install --frozen-lockfile`, all 14 IconField and emoji-data tests, `pnpm check`, `pnpm lint`, `pnpm format:check`, and `make lint/emdash` pass. Only the patch preamble and generated lockfile hashes changed; the installed ESM and CommonJS bundles are byte-for-byte unchanged. - `pnpm check`, `lint:oxlint`, `lint:types`, `lint:knip`, `lint:circular-deps`, and `lint:compiler` pass, and `vite build` succeeds. - Vitest: `IconField.test.tsx` covers picking an icon, picking an emoji that keeps U+FE0F in its file name, picking with the keyboard, clearing the search, and marking a category as current. `emojiData.test.ts` checks that every emoji and skin tone maps to a PNG in `static/emojis`, the FE0F rule, and that deprecated icons are left out. Removing an entry from the list of unshipped symbols makes the first test fail, naming the emoji. - Playwright against Storybook, in dark and light themes: opened the picker with the keyboard and tabbed through every control, checking the focus ring on each. Typed "apple" and pressed ArrowDown and ArrowRight; the active emoji showed the ring. Scrolling the whole list in all six skin tones produced no failed image requests, and the picker made no requests outside localhost. - Storybook Vitest project (`--project=storybook`) for `IconField.stories.tsx` passes. - axe-core 4.11 against `OpenPicker` and `KeyboardActiveEmoji`, in dark and light themes and at 1280px and 320px widths: the picker has no violations. The remaining results are outside it: `aria-dialog-name` on the shared `PopoverContent`, plus the page-level `region` and `bypass`. With the patch, 150 ArrowDown and 150 ArrowUp presses through the full list, and 40 of each in the "face" results, kept the active emoji fully in view on every step. The grid viewport is now `role="group"`, because axe flagged `aria-label` on a div with no role. - Spritesheet: `emojiData.test.ts` checks that every emoji and skin tone has a sheet cell and spot-checks coordinates. A Playwright script compared all 3,775 sheet cells with their PNGs, and swapped 72 rendered tiles in place for their PNGs; every tile matched its own cell better than any neighbor. With 150 ms emulated latency, switching between Flags, Smileys, and Objects made no emoji requests (before: about 100 per category). </details> <details> <summary>Implementation plan and decision log</summary> **Why Frimousse.** It's a headless set of React parts styled with Tailwind, with a virtualized grid, keyboard navigation, and a live-region announcer. Prototypes compared it with emoji-picker-react 4.22.3, which also met the requirements but can only be restyled through its own CSS variables. @ferrucc-io/emoji-picker was ruled out over doubts about long-term maintenance. | Requirement | Frimousse | emoji-picker-react | | --- | --- | --- | | Category buttons, Icons last | Custom nav (~40 lines) | Built in | | One search over emoji + icons | Yes | Yes | | Icons in the same scroll list | Yes | Yes | | Keyboard navigation across both | Yes | Yes; one Enter picked a gender variant, unexplained | | Stored values unchanged | Yes | Yes | | No third-party requests | Yes (bundled data) | Yes | | Tailwind styling | Native | CSS variables only | **Plan as built:** 1. Dependencies: add pinned `frimousse` 0.4.0 and `emojibase-data` 17.0.0, plus `emojibase` 17.0.0 as a dev dependency for its types; remove Emoji Mart and its type shim; rename the Vite chunk group. 2. Data (`emojiData.ts`): build Frimousse `EmojiData` from `emojibase-data/en/data.json` and `messages.json`. Drop the "component" group, emoji newer than 15.1, and the 3 symbols the Apple set lacks. Map each emoji to its PNG by emoji-datasource's U+FE0F naming rule, and offer skin tones only when all five single-tone variants are shipped. Append the non-deprecated `icons.json` entries as a final "Icons" category, with the same keywords as Emoji Mart. 3. Picker (`EmojiPicker.tsx`): category `nav` buttons with `aria-current`. Clicking one clears the search and scrolls to the category; scrolling updates the current button. The search uses the shared `InputGroup` with our own clear button, and the native one is hidden. The grid renders images through `ExternalImage`, without lazy loading, and the icons are preloaded when the chunk loads, because a cold cache showed empty tiles for about 0.5 s. The skin-tone button cycles tones with `useSkinTone`. The grid is a tab stop. 4. `IconField.tsx`: `onEmojiSelect` now passes the stored value directly. The hidden pre-warm picker is unchanged. 5. Tests and stories as listed under Verification. 6. Spritesheet (added after hands-on testing showed tiles popping in): draw emoji from emoji-datasource-apple 15.1.2's `sheets-256/64.png` with a generated cell map, sized with percentages so one cell fills the tile. Native emoji glyphs were ruled out because they would not match the stored Apple PNGs; preloading individual PNGs would still miss on category jumps. **Changes from the original plan:** replaced the planned generated list of shipped files (3,787 lines of JSON) with emoji-datasource's U+FE0F naming rule, which a test checks against `static/emojis`. Used `nav` buttons with `aria-current` instead of `role="tab"`, since there are no tab panels. Added a tab stop on the grid. Accepted substring search. </details> > This PR was generated by Coder Agents. --------- Co-authored-by: Jake Howell <jake@hwll.me> |
||
|
|
fb36a3d877 |
chore: bump mise to 2026.10.25 (#31640)
Bump mise from 2026.5.12 in every place scripts/check_mise_versions.sh checks. mise.lock is regenerated because 2026.10.19 records vercel's registry default options, and `mise install --locked` fails on the old lockfile without them. 2026.7.12 removed `mise oci push --tool`, so the dogfood workflow drops `--tool crane` and the mise-oci-wrapper no longer installs crane. min_version is a hard requirement: in this repo, an older mise fails for `mise exec`, every shim and `mise activate` until `mise self-update` or a restart on the new dogfood image, so the git hooks block commits. Branches not rebased onto this change get mise.lock rewritten whenever mise 2026.10.25 installs something there. |
||
|
|
2cab0e8c37 |
ci: remove PR deployments (#31757)
PR deployments have been dead since February, but `pr-cleanup.yaml` still runs on every closed PR with the deployment secrets in scope. |
||
|
|
b0cc77d7b5 | chore: use environments for various CI pipelines (#31654) |