Files
coder/.github/workflows/ci.yaml
T
dependabot[bot] 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>
2026-12-01 02:02:36 +11:00

1425 lines
57 KiB
YAML

name: ci
on:
push:
branches:
- main
- release/*
# GitHub Actions does not reliably trigger push-based CI when a new
# branch is created at a commit that already has a workflow run (e.g.
# from main). The create event fires separately and ensures CI runs
# on newly cut release branches. Non-release branch creations are
# filtered out by the changes job condition.
create:
pull_request:
workflow_dispatch:
permissions:
contents: read
# Cancel in-progress runs for pull requests when developers push
# additional changes
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
jobs:
changes:
runs-on: ubuntu-latest
# For create events, only run on release branches to avoid
# triggering CI for every feature branch creation.
if: |
github.event_name != 'create' || (
github.event.ref_type == 'branch' &&
startsWith(github.event.ref, 'release/')
)
outputs:
docs-only: ${{ steps.filter.outputs.docs_count == steps.filter.outputs.all_count }}
docs: ${{ steps.filter.outputs.docs }}
docs-gen: ${{ steps.filter.outputs.docs-gen }}
go: ${{ steps.filter.outputs.go }}
site: ${{ steps.filter.outputs.site }}
k8s: ${{ steps.filter.outputs.k8s }}
ci: ${{ steps.filter.outputs.ci }}
db: ${{ steps.filter.outputs.db }}
gomod: ${{ steps.filter.outputs.gomod }}
offlinedocs-only: ${{ steps.filter.outputs.offlinedocs_count == steps.filter.outputs.all_count }}
offlinedocs: ${{ steps.filter.outputs.offlinedocs }}
tailnet-integration: ${{ steps.filter.outputs.tailnet-integration }}
steps:
- name: Harden Runner
uses: step-security/harden-runner@aebdcf6156ab6691adf63218240e476564a1ed4c # v2.23.0
with:
egress-policy: audit
- name: Checkout
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
fetch-depth: 1
persist-credentials: false
- name: check changed files
uses: dorny/paths-filter@ceb8a2b8f2d89434be7ff52d3de7ec3738c5cc9d # v4.0.3
id: filter
with:
filters: |
all:
- "**"
docs:
- "docs/**"
- ".claude/docs/**"
- "*.md"
- "examples/web-server/**"
- "examples/monitoring/**"
- "examples/lima/**"
# Docs paths that make gen reads or rewrites. The gen job skips
# docs-only PRs that touch none of them. lint/docs-gen-filter
# fails when a file make gen writes is missing here; it does not
# check inputs.
docs-gen:
- "docs/manifest.json"
- "docs/manifest/**"
- "docs/reference/api/**"
- "docs/reference/api-key-scopes.md"
- "docs/reference/cli/**"
- "docs/admin/integrations/prometheus.md"
- "docs/admin/security/audit-logs.md"
- "docs/admin/setup/configuration-reference.md"
db:
- "**.sql"
- "coderd/database/**"
go:
- "**.sql"
- "**.go"
- "**.golden"
- "go.mod"
- "go.sum"
# Other non-Go files that may affect Go code:
- "**.rego"
- "**.sh"
- "**.tpl"
- "**.gotmpl"
- "**.gotpl"
- "Makefile"
- "site/static/error.html"
# Icon and theme files tested by Go (scripts/gensite):
- "site/static/icon/**"
- "site/src/theme/**"
# Main repo directories for completeness in case other files are
# touched:
- "agent/**"
- "aibridge/**"
- "cli/**"
- "cmd/**"
- "coderd/**"
- "enterprise/**"
- "examples/**"
- "helm/**"
- "provisioner/**"
- "provisionerd/**"
- "provisionersdk/**"
- "pty/**"
- "scaletest/**"
- "tailnet/**"
- "testutil/**"
gomod:
- "go.mod"
- "go.sum"
site:
- "site/**"
k8s:
- "helm/**"
- "scripts/Dockerfile"
- "scripts/Dockerfile.base"
- "scripts/helm.sh"
ci:
- ".github/actions/**"
- ".github/workflows/**"
offlinedocs:
- "offlinedocs/**"
tailnet-integration:
- "tailnet/**"
- "go.mod"
- "go.sum"
- id: debug
run: |
echo "$FILTER_JSON"
env:
FILTER_JSON: ${{ toJSON(steps.filter.outputs) }}
lint-docs:
needs: changes
if: needs.changes.outputs.docs == 'true' || needs.changes.outputs.ci == 'true' || github.ref == 'refs/heads/main'
runs-on: ubuntu-latest
steps:
- name: Harden Runner
uses: step-security/harden-runner@aebdcf6156ab6691adf63218240e476564a1ed4c # v2.23.0
with:
egress-policy: audit
- name: Checkout
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
fetch-depth: 1
persist-credentials: false
- name: Set up mise tools
uses: ./.github/actions/setup-mise
with:
install-args: "go node pnpm"
- name: Install pnpm dependencies
uses: ./.github/actions/pnpm-install
- name: Check docs
run: pnpm check-docs
# The docs checker tests read the committed docs, and the Go test jobs
# skip docs-only pull requests. Fetch only the modules they need, with
# the retry the other Go jobs use for go mod download.
- name: Download docs checker modules
run: ./.github/scripts/retry.sh --timeout 120 -- go list -deps -test ./scripts/docs... > /dev/null
- name: Test docs checkers
run: go test ./scripts/docs...
# Vale prose linter, advisory only. Scoped to changed Markdown under
# docs/. Every Vale step is `continue-on-error` so this section can
# never block the required `lint-docs` job: a `vale sync` network
# blip or a baseline rule violation surfaces as an annotation, not a
# merge gate. Only the checks above stay blocking.
# `vale --no-exit` additionally keeps the baseline error count from
# un-overridden upstream Google rules from failing the step. Lives
# here rather than a standalone workflow so docs lint stays in the
# single required CI umbrella (see #25608). See DOCS-40.
- name: Detect changed Markdown
id: changed-md
continue-on-error: true
uses: tj-actions/changed-files@9426d40962ed5378910ee2e21d5f8c6fcbf2dd96 # v45.0.7
with:
files: |
**.md
separator: ","
# `**.md` (not `docs/**.md`) because the action's globber collapses a
# `**` adjacent to `.md` to a single path segment, so `docs/**.md`
# only matches top-level docs/*.md and misses nested pages such as
# docs/.style/style-guide/README.md. The prose step below re-filters to
# docs/ paths.
# Cache split into restore + conditional save to avoid letting PR
# runs populate a cache that other branches restore from (the
# zizmor `cache-poisoning` concern). Only pushes to the default
# branch may write the cache; PRs may only read it.
- name: Restore Vale styles
id: vale-cache
if: steps.changed-md.outputs.any_changed == 'true'
continue-on-error: true
uses: actions/cache/restore@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
with:
# Negation excludes the hand-authored Coder rules from the cache;
# the key also hashes them so a rule change always invalidates it.
# mise manages the Vale binary, so only the synced styles cache.
path: |
docs/.style/styles/*
!docs/.style/styles/Coder
docs/.style/.vale-synced
key: vale-${{ hashFiles('.vale.ini', 'mise.toml', 'docs/.style/styles/Coder/**') }}
restore-keys: |
vale-
- name: Prepare Vale styles
if: steps.changed-md.outputs.any_changed == 'true'
continue-on-error: true
env:
# Non-interactive: let mise auto-install the pinned Vale on first use.
MISE_YES: "1"
run: make docs/.style/.vale-synced
- name: Vale prose lint
if: steps.changed-md.outputs.any_changed == 'true'
continue-on-error: true
env:
ALL_CHANGED_FILES: ${{ steps.changed-md.outputs.all_changed_files }}
# Non-interactive: let mise auto-install the pinned Vale on first use.
MISE_YES: "1"
run: |
# all_changed_files is ACMRD and so lists paths this PR deleted.
# Vale errors on a missing file (--no-exit only suppresses alert
# exits, not runtime errors), so keep only docs/ paths still on
# disk. See DOCS-40.
files=$(printf '%s\n' "$ALL_CHANGED_FILES" \
| tr ',' '\n' \
| grep -E '^docs/' \
| while IFS= read -r f; do [ -f "$f" ] && printf '%s\n' "$f"; done || true)
if [ -z "$files" ]; then
echo "No changed Markdown files under docs/ on disk; skipping Vale."
exit 0
fi
# Vale's --output=line strips per-finding severity, so the
# previous problem-matcher approach collapsed every finding to
# a single hard-coded severity. Use --output=JSON instead and
# emit GitHub workflow commands directly so error/warning/
# suggestion render with their actual Vale severities. URL-
# encode message bodies for `%`, `\r`, and `\n` per the
# GitHub Actions workflow command spec. See DOCS-426.
printf '%s\n' "$files" \
| xargs -d '\n' mise exec "aqua:errata-ai/vale" -- vale --no-exit --output=JSON \
| jq -r '
to_entries[]
| .key as $file
| .value[]
| (if .Severity == "suggestion" then "notice"
elif .Severity == "warning" then "warning"
else "error" end) as $level
| (.Message | gsub("%"; "%25") | gsub("\r"; "%0D") | gsub("\n"; "%0A")) as $msg
| "::\($level) file=\($file),line=\(.Line),col=\(.Span[0]),title=\(.Check)::\($msg)"
'
- name: Save Vale styles
# Only the default branch is trusted to write the cache, so PR
# runs cannot poison the cache that subsequent runs restore from.
# Skip when the cache already had an exact key hit (no new content).
if: github.ref == 'refs/heads/main' && steps.changed-md.outputs.any_changed == 'true' && steps.vale-cache.outputs.cache-hit != 'true'
continue-on-error: true
uses: actions/cache/save@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
with:
path: |
docs/.style/styles/*
!docs/.style/styles/Coder
docs/.style/.vale-synced
key: ${{ steps.vale-cache.outputs.cache-primary-key }}
# Disabled due to instability. See: https://github.com/coder/coder/issues/14553
# Re-enable once the flake hash calculation is stable.
# update-flake:
# needs: changes
# if: needs.changes.outputs.gomod == 'true'
# runs-on: ${{ github.repository_owner == 'coder' && 'depot-ubuntu-22.04-8' || 'ubuntu-latest' }}
# steps:
# - name: Checkout
# uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
# with:
# fetch-depth: 1
# # See: https://github.com/stefanzweifel/git-auto-commit-action?tab=readme-ov-file#commits-made-by-this-action-do-not-trigger-new-workflow-runs
# token: ${{ secrets.CDRCI_GITHUB_TOKEN }}
# - name: Set up mise tools
# uses: ./.github/actions/setup-mise
# with:
# install-args: "go"
# - name: Update Nix Flake SRI Hash
# run: ./scripts/update-flake.sh
# # auto update flake for dependabot
# - uses: stefanzweifel/git-auto-commit-action@8621497c8c39c72f3e2a999a26b4ca1b5058a842 # v5.0.1
# if: github.actor == 'dependabot[bot]'
# with:
# # Allows dependabot to still rebase!
# commit_message: "[dependabot skip] Update Nix Flake SRI Hash"
# commit_user_name: "dependabot[bot]"
# commit_user_email: "49699333+dependabot[bot]@users.noreply.github.com>"
# commit_author: "dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>"
# # require everyone else to update it themselves
# - name: Ensure No Changes
# if: github.actor != 'dependabot[bot]'
# run: git diff --exit-code
lint:
needs: changes
if: needs.changes.outputs.offlinedocs-only == 'false' || needs.changes.outputs.ci == 'true' || github.ref == 'refs/heads/main'
runs-on: ${{ github.repository_owner == 'coder' && 'depot-ubuntu-22.04-8' || 'ubuntu-latest' }}
steps:
- name: Harden Runner
uses: step-security/harden-runner@aebdcf6156ab6691adf63218240e476564a1ed4c # v2.23.0
with:
egress-policy: audit
- name: Checkout
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
# Depth 2 makes the PR merge commit's first parent (the base
# branch tip) available so lint/emdash and lint/go/new-code can
# diff against HEAD^ without fetching the base branch at runtime.
fetch-depth: 2
persist-credentials: false
- name: Set up mise tools
uses: ./.github/actions/setup-mise
with:
install-args: "go node pnpm helm aqua:crate-ci/typos"
- name: Install pnpm dependencies
uses: ./.github/actions/pnpm-install
- name: Install Go mise tools
run: ./.github/scripts/retry.sh -- mise install --locked go:github.com/golangci/golangci-lint/v2/cmd/golangci-lint go:github.com/coder/paralleltestctx/cmd/paralleltestctx go:github.com/rhysd/actionlint/cmd/actionlint
- name: Get golangci-lint cache dir
run: |
dir=$(golangci-lint cache status | awk '/Dir/ { print $2 }')
echo "LINT_CACHE_DIR=$dir" >> "$GITHUB_ENV"
# Cache split into restore + conditional save to avoid letting PR
# runs populate a cache that other branches restore from (the
# zizmor `cache-poisoning` concern). Only pushes to the default
# branch may write the cache; PRs may only read it.
- name: Restore golangci-lint cache
id: golangci-lint-cache
uses: actions/cache/restore@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
with:
# Depot caches are shared across branches, so trusted runs only
# look the key up and never restore what a pull request wrote.
lookup-only: ${{ github.event_name != 'pull_request' }}
path: |
${{ env.LINT_CACHE_DIR }}
key: golangci-lint-${{ runner.os }}-${{ hashFiles('**/*.go') }}
restore-keys: |
golangci-lint-${{ runner.os }}-
# Check for any typos
- name: Check for typos
run: typos --config .github/workflows/typos.toml
- name: Fix the typos
if: ${{ failure() }}
run: |
echo "::notice:: you can automatically fix typos from your CLI:
mise exec aqua:crate-ci/typos -- typos -c .github/workflows/typos.toml -w"
- name: Verify helm version
run: helm version --short
- name: Download Go modules
run: ./.github/scripts/retry.sh --timeout 120 -- go mod download
- name: make lint
# Bound concurrent lint targets to keep peak memory below the runner limit.
run: make --output-sync=line -j"$(nproc)" lint
env:
# lint/go/new-code only checks lines changed since this revision.
# Pull requests check out the merge commit, whose first parent is
# the base branch tip (kept by fetch-depth: 2). Other events compare
# HEAD with itself, so the pass reports nothing.
GO_LINT_NEW_CODE_BASE: ${{ github.event_name == 'pull_request' && 'HEAD^1' || 'HEAD' }}
- name: Save golangci-lint cache
# Only the default branch is trusted to write the cache, so PR
# runs cannot poison the cache that subsequent runs restore from.
# Skip when the cache already had an exact key hit (no new content).
if: github.ref == 'refs/heads/main' && steps.golangci-lint-cache.outputs.cache-hit != 'true'
uses: actions/cache/save@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
with:
path: |
${{ env.LINT_CACHE_DIR }}
key: ${{ steps.golangci-lint-cache.outputs.cache-primary-key }}
- name: Check workflow files
run: actionlint -color -shellcheck= -ignore "set-output"
shell: bash
- name: Check for unstaged files
run: ./scripts/check_unstaged.sh
shell: bash
lint-actions:
needs: changes
# Only run this job if changes to CI workflow files are detected. This job
# can flake as it reaches out to GitHub to check referenced actions.
if: needs.changes.outputs.ci == 'true'
runs-on: ${{ github.repository_owner == 'coder' && 'depot-ubuntu-24.04-8' || 'ubuntu-24.04' }}
steps:
- name: Harden Runner
uses: step-security/harden-runner@aebdcf6156ab6691adf63218240e476564a1ed4c # v2.23.0
with:
egress-policy: audit
- name: Checkout
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
fetch-depth: 1
persist-credentials: false
- name: Set up mise tools
uses: ./.github/actions/setup-mise
with:
install-args: "go zizmor"
- name: Install Go mise tools
run: ./.github/scripts/retry.sh -- mise install --locked go:github.com/rhysd/actionlint/cmd/actionlint
- name: make lint/actions
run: make --output-sync=line -j lint/actions
env:
# Used by zizmor to lint third-party GitHub actions.
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
gen:
needs: changes
timeout-minutes: 20
runs-on: ${{ github.repository_owner == 'coder' && 'depot-ubuntu-22.04-8' || 'ubuntu-latest' }}
if: needs.changes.outputs.docs-only == 'false' || needs.changes.outputs.docs-gen == 'true' || needs.changes.outputs.ci == 'true' || github.event_name != 'pull_request'
steps:
- name: Harden Runner
uses: step-security/harden-runner@aebdcf6156ab6691adf63218240e476564a1ed4c # v2.23.0
with:
egress-policy: audit
- name: Checkout
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
fetch-depth: 1
persist-credentials: false
- name: Set up mise tools
uses: ./.github/actions/setup-mise
with:
install-args: "go node pnpm protoc protoc-gen-go"
- name: Install pnpm dependencies
uses: ./.github/actions/pnpm-install
- name: Install Go mise tools
run: ./.github/scripts/retry.sh -- mise install --locked go:storj.io/drpc/cmd/protoc-gen-go-drpc go:github.com/coder/sqlc/cmd/sqlc
- name: Download Go modules
run: ./.github/scripts/retry.sh --timeout 120 -- go mod download
- name: Start PostgreSQL container
run: make test-postgres-docker
# Reject an outdated input record before make gen could invoke Terraform.
- name: Check Terraform fixture record
run: ./provisioner/terraform/testdata/generate.sh --check
- name: make gen
timeout-minutes: 8
run: |
# Remove golden files to detect discrepancy in generated files.
make clean/golden-files
# Notifications require DB, we could start a DB instance here but
# let's just restore for now.
git checkout -- coderd/notifications/testdata/rendered-templates
make -j --output-sync -B gen
- name: Check for unstaged files
run: ./scripts/check_unstaged.sh
- name: Collect PostgreSQL logs
if: always()
run: make test-postgres-docker-logs > postgres.log 2>&1
- name: Upload PostgreSQL logs
if: always()
uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
with:
name: gen-postgres-logs
path: postgres.log
fmt:
needs: changes
if: needs.changes.outputs.offlinedocs-only == 'false' || needs.changes.outputs.ci == 'true' || github.ref == 'refs/heads/main'
runs-on: ${{ github.repository_owner == 'coder' && 'depot-ubuntu-22.04-8' || 'ubuntu-latest' }}
timeout-minutes: 20
steps:
- name: Harden Runner
uses: step-security/harden-runner@aebdcf6156ab6691adf63218240e476564a1ed4c # v2.23.0
with:
egress-policy: audit
- name: Checkout
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
fetch-depth: 1
persist-credentials: false
- name: Check Go version
run: IGNORE_NIX=true ./scripts/check_go_versions.sh
- name: Set up mise tools
uses: ./.github/actions/setup-mise
with:
install-args: "go node pnpm terraform"
- name: Install pnpm dependencies
uses: ./.github/actions/pnpm-install
- name: Install Go mise tools
run: ./.github/scripts/retry.sh -- mise install --locked go:mvdan.cc/sh/v3/cmd/shfmt
- name: Download Go modules
run: ./.github/scripts/retry.sh --timeout 120 -- go mod tidy
- name: make fmt
timeout-minutes: 7
run: make --output-sync -j -B fmt
- name: Check for unstaged files
run: ./scripts/check_unstaged.sh
test-go-pg:
# make sure to adjust NUM_PARALLEL_PACKAGES and NUM_PARALLEL_TESTS below
# when changing runner sizes
runs-on: ${{ matrix.os == 'ubuntu-latest' && github.repository_owner == 'coder' && 'depot-ubuntu-22.04-8' || matrix.os && matrix.os == 'macos-latest' && github.repository_owner == 'coder' && 'depot-macos-latest' || matrix.os == 'windows-2022' && github.repository_owner == 'coder' && 'depot-windows-2022-16' || matrix.os }}
needs: changes
if: needs.changes.outputs.go == 'true' || needs.changes.outputs.ci == 'true' || github.ref == 'refs/heads/main'
# This timeout must be greater than the timeout set by `go test` in
# `make test` to ensure we receive a trace of running goroutines.
# Leave at least 5 minutes after the Go timeout fires, counting the
# slowest setup steps, for the dump and the artifact uploads. The
# macOS lane shortens its Go timeout below because its setup is slow.
timeout-minutes: 30
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
- macos-latest
- windows-2022
steps:
- name: Harden Runner
uses: step-security/harden-runner@aebdcf6156ab6691adf63218240e476564a1ed4c # v2.23.0
with:
egress-policy: audit
# macOS indexes all new files in the background. Our Postgres tests
# create and destroy thousands of databases on disk, and Spotlight
# tries to index all of them, seriously slowing down the tests.
- name: Disable Spotlight Indexing
if: runner.os == 'macOS'
run: |
enabled=$(sudo mdutil -a -s | { grep -Fc "Indexing enabled" || true; })
if [ "$enabled" -eq 0 ]; then
echo "Spotlight indexing is already disabled"
exit 0
fi
sudo mdutil -a -i off
sudo mdutil -X /
sudo launchctl bootout system /System/Library/LaunchDaemons/com.apple.metadata.mds.plist
# Set up RAM disks to speed up the rest of the job. This action is in
# a separate repository to allow its use before actions/checkout.
- name: Setup RAM Disks
if: runner.os == 'Windows'
uses: coder/setup-ramdisk-action@e1100847ab2d7bcd9d14bcda8f2d1b0f07b36f1b # v0.1.0
- name: Checkout
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
fetch-depth: 1
persist-credentials: false
- name: Setup Go Paths
uses: ./.github/actions/setup-go-paths
- name: Setup GNU tools (macOS)
uses: ./.github/actions/setup-gnu-tools
- name: Set up mise tools
uses: ./.github/actions/setup-mise
with:
install-args: "go terraform"
- name: Install Go mise tools
shell: bash
run: ./.github/scripts/retry.sh -- mise install --locked go:gotest.tools/gotestsum go:github.com/slsyy/mtimehash/cmd/mtimehash
- name: Download Test Cache
id: download-cache
uses: ./.github/actions/test-cache/download
with:
key-prefix: test-go-pg-${{ runner.os }}-${{ runner.arch }}
- name: Setup Embedded Postgres Cache Paths
id: embedded-pg-cache
uses: ./.github/actions/setup-embedded-pg-cache-paths
- name: Download Embedded Postgres Cache
id: download-embedded-pg-cache
uses: ./.github/actions/embedded-pg-cache/download
with:
key-prefix: embedded-pg-${{ runner.os }}-${{ runner.arch }}
cache-path: ${{ steps.embedded-pg-cache.outputs.cached-dirs }}
- name: Normalize File and Directory Timestamps
shell: bash
# Normalize file modification timestamps so that go test can use the
# cache from the previous CI run. See https://github.com/golang/go/issues/58571
# for more details.
#
# mtimehash only optimizes cache hits, so a missing binary must not
# fail the job before any tests run (coder/internal#1630).
run: |
if command -v mtimehash >/dev/null 2>&1; then
find . -type f ! -path ./.git/\*\* | mtimehash
else
echo "::warning::mtimehash not found; skipping file timestamp normalization (Go test cache may be cold)"
fi
find . -type d ! -path ./.git/\*\* -exec touch -t 200601010000 {} +
- name: Normalize Terraform Path for Caching
shell: bash
# Terraform gets installed in a random directory, so we need to normalize
# the path or many cached tests will be invalidated.
run: |
mkdir -p "$RUNNER_TEMP/sym"
source scripts/normalize_path.sh
normalize_path_with_symlinks "$RUNNER_TEMP/sym" "$(dirname "$(which terraform)")"
- name: Setup RAM disk for Embedded Postgres (Windows)
if: runner.os == 'Windows'
shell: bash
# The default C: drive is extremely slow:
# https://github.com/actions/runner-images/issues/8755
run: mkdir -p "R:/temp/embedded-pg"
- name: Setup RAM disk for Embedded Postgres (macOS)
if: runner.os == 'macOS'
shell: bash
run: |
# Postgres runs faster on a ramdisk on macOS.
mkdir -p /tmp/tmpfs
sudo mount_tmpfs -o noowners -s 8g /tmp/tmpfs
# macOS will output "The default interactive shell is now zsh" intermittently in CI.
touch ~/.bash_profile && echo "export BASH_SILENCE_DEPRECATION_WARNING=1" >> ~/.bash_profile
- name: Increase PTY limit (macOS)
if: runner.os == 'macOS'
shell: bash
run: |
# Increase PTY limit to avoid exhaustion during tests.
# Default is 511; 999 is the maximum value on CI runner.
sudo sysctl -w kern.tty.ptmx_max=999
- name: Test with PostgreSQL Database (Linux)
if: runner.os == 'Linux'
uses: ./.github/actions/test-go-pg
with:
postgres-version: "13"
# Our Linux runners have 8 cores.
test-parallelism-packages: "8"
test-parallelism-tests: "8"
# By default, run tests with cache for improved speed (possibly at the expense of correctness).
# On main, run tests without cache for the inverse.
test-count: ${{ github.ref == 'refs/heads/main' && '1' || '' }}
gotestsum-json-file: default
- name: Test with PostgreSQL Database (macOS)
if: runner.os == 'macOS'
uses: ./.github/actions/test-go-pg
with:
postgres-version: "13"
# Our macOS runners have 8 cores. test-parallelism-tests matches
# Linux's rather than the previous 16, to rule out scheduler
# contention as a contributor to the macOS test-go-pg timeouts
# tracked in coder/internal#1365.
test-parallelism-packages: "8"
test-parallelism-tests: "8"
# Setup and compile take 3 to 10 minutes on macOS, which leaves
# too little of the 30 minute job for a goroutine dump when the
# default 25 minute Go timeout fires. 15 minutes keeps at least a
# 5 minute margin for the dump and artifact uploads even after a
# 10 minute setup. A healthy run of these packages takes about 4
# minutes.
test-timeout: "15m"
# By default, run tests with cache for improved speed (possibly at the expense of correctness).
# On main, run tests without cache for the inverse.
test-count: ${{ github.ref == 'refs/heads/main' && '1' || '' }}
# Only the CLI and Agent are officially supported on macOS; the rest are too flaky.
test-packages: "./cli/... ./enterprise/cli/... ./agent/..."
embedded-pg-path: "/tmp/tmpfs/embedded-pg"
embedded-pg-cache: ${{ steps.embedded-pg-cache.outputs.embedded-pg-cache }}
- name: Test with PostgreSQL Database (Windows)
if: runner.os == 'Windows'
uses: ./.github/actions/test-go-pg
with:
postgres-version: "13"
# Our Windows runners have 16 cores.
# On Windows Postgres chokes up when we have 16x16=256 tests
# running in parallel, and dbtestutil.NewDB starts to take more than
# 10s to complete sometimes causing test timeouts. With 16x8=128 tests
# Postgres tends not to choke.
test-parallelism-packages: "8"
test-parallelism-tests: "16"
# By default, run tests with cache for improved speed (possibly at the expense of correctness).
# On main, run tests without cache for the inverse.
test-count: ${{ github.ref == 'refs/heads/main' && '1' || '' }}
# Only the CLI and Agent are officially supported on Windows; the rest are too flaky.
test-packages: "./cli/... ./enterprise/cli/... ./agent/..."
embedded-pg-path: "R:/temp/embedded-pg"
embedded-pg-cache: ${{ steps.embedded-pg-cache.outputs.embedded-pg-cache }}
- name: Publish Go test failure report
if: failure() && github.actor != 'dependabot[bot]' && runner.os == 'Linux' && (github.event_name != 'pull_request' || !github.event.pull_request.head.repo.fork)
uses: ./.github/actions/go-test-failure-report
with:
artifact-name: go-test-failures-${{ github.job }}-${{ github.sha }}
- name: Upload failed test db dumps
uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
with:
name: failed-test-db-dump-${{matrix.os}}
path: "**/*.test.sql"
- name: Upload Test Cache
uses: ./.github/actions/test-cache/upload
with:
cache-key: ${{ steps.download-cache.outputs.cache-key }}
- name: Upload Embedded Postgres Cache
uses: ./.github/actions/embedded-pg-cache/upload
# We only use the embedded Postgres cache on macOS and Windows runners.
if: runner.OS == 'macOS' || runner.OS == 'Windows'
with:
cache-key: ${{ steps.download-embedded-pg-cache.outputs.cache-key }}
cache-path: "${{ steps.embedded-pg-cache.outputs.embedded-pg-cache }}"
- name: Upload test stats to Datadog
timeout-minutes: 1
continue-on-error: true
uses: ./.github/actions/upload-datadog
if: success() || failure()
with:
api-key: ${{ secrets.DATADOG_API_KEY }}
test-go-pg-17:
runs-on: ${{ github.repository_owner == 'coder' && 'depot-ubuntu-22.04-8' || 'ubuntu-latest' }}
needs:
- changes
if: needs.changes.outputs.go == 'true' || needs.changes.outputs.ci == 'true' || github.ref == 'refs/heads/main'
# This timeout must be greater than the timeout set by `go test` in
# `make test` to ensure we receive a trace of running goroutines.
# Setting this to the timeout +5m should work quite well even if
# some of the preceding steps are slow.
timeout-minutes: 30
steps:
- name: Harden Runner
uses: step-security/harden-runner@aebdcf6156ab6691adf63218240e476564a1ed4c # v2.23.0
with:
egress-policy: audit
- name: Checkout
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
fetch-depth: 1
persist-credentials: false
- name: Set up mise tools
uses: ./.github/actions/setup-mise
with:
install-args: "go terraform"
- name: Install Go mise tools
run: ./.github/scripts/retry.sh -- mise install --locked go:gotest.tools/gotestsum go:github.com/slsyy/mtimehash/cmd/mtimehash
- name: Download Test Cache
id: download-cache
uses: ./.github/actions/test-cache/download
with:
key-prefix: test-go-pg-17-${{ runner.os }}-${{ runner.arch }}
- name: Normalize File and Directory Timestamps
shell: bash
# Normalize file modification timestamps so that go test can use the
# cache from the previous CI run. See https://github.com/golang/go/issues/58571
# for more details. Without this, packages that read files (testdata,
# golden files, etc.) never hit the test cache in this job.
#
# mtimehash only optimizes cache hits, so a missing binary must not
# fail the job before any tests run (coder/internal#1630).
run: |
if command -v mtimehash >/dev/null 2>&1; then
find . -type f ! -path ./.git/\*\* | mtimehash
else
echo "::warning::mtimehash not found; skipping file timestamp normalization (Go test cache may be cold)"
fi
find . -type d ! -path ./.git/\*\* -exec touch -t 200601010000 {} +
- name: Normalize Terraform Path for Caching
shell: bash
# Terraform gets installed in a random directory, so we need to normalize
# the path or many cached tests will be invalidated.
run: |
mkdir -p "$RUNNER_TEMP/sym"
source scripts/normalize_path.sh
normalize_path_with_symlinks "$RUNNER_TEMP/sym" "$(dirname "$(which terraform)")"
- name: Test with PostgreSQL Database
uses: ./.github/actions/test-go-pg
with:
postgres-version: "17"
# Our Linux runners have 8 cores.
test-parallelism-packages: "8"
test-parallelism-tests: "8"
# By default, run tests with cache for improved speed (possibly at the expense of correctness).
# On main, run tests without cache for the inverse.
test-count: ${{ github.ref == 'refs/heads/main' && '1' || '' }}
gotestsum-json-file: default
- name: Publish Go test failure report
if: failure() && github.actor != 'dependabot[bot]' && runner.os == 'Linux' && (github.event_name != 'pull_request' || !github.event.pull_request.head.repo.fork)
uses: ./.github/actions/go-test-failure-report
with:
artifact-name: go-test-failures-${{ github.job }}-${{ github.sha }}
- name: Upload Test Cache
uses: ./.github/actions/test-cache/upload
with:
cache-key: ${{ steps.download-cache.outputs.cache-key }}
- name: Upload test stats to Datadog
timeout-minutes: 1
continue-on-error: true
uses: ./.github/actions/upload-datadog
if: success() || failure()
with:
api-key: ${{ secrets.DATADOG_API_KEY }}
test-go-race-pg:
runs-on: ${{ github.repository_owner == 'coder' && 'depot-ubuntu-22.04-16' || 'ubuntu-latest' }}
needs: changes
if: needs.changes.outputs.go == 'true' || needs.changes.outputs.ci == 'true' || github.ref == 'refs/heads/main'
# This timeout must be greater than the timeout set by `go test` in
# `make test-race` to ensure we receive a trace of running goroutines.
# Setting this to the timeout +5m should work quite well even if
# some of the preceding steps are slow.
timeout-minutes: 30
steps:
- name: Harden Runner
uses: step-security/harden-runner@aebdcf6156ab6691adf63218240e476564a1ed4c # v2.23.0
with:
egress-policy: audit
- name: Checkout
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
fetch-depth: 1
persist-credentials: false
- name: Set up mise tools
uses: ./.github/actions/setup-mise
with:
install-args: "go terraform"
- name: Install Go mise tools
run: ./.github/scripts/retry.sh -- mise install --locked go:gotest.tools/gotestsum go:github.com/slsyy/mtimehash/cmd/mtimehash
- name: Download Test Cache
id: download-cache
uses: ./.github/actions/test-cache/download
with:
key-prefix: test-go-race-pg-${{ runner.os }}-${{ runner.arch }}
- name: Normalize File and Directory Timestamps
shell: bash
# Normalize file modification timestamps so that go test can use the
# cache from the previous CI run. See https://github.com/golang/go/issues/58571
# for more details. Without this, packages that read files (testdata,
# golden files, etc.) never hit the test cache in this job.
#
# mtimehash only optimizes cache hits, so a missing binary must not
# fail the job before any tests run (coder/internal#1630).
run: |
if command -v mtimehash >/dev/null 2>&1; then
find . -type f ! -path ./.git/\*\* | mtimehash
else
echo "::warning::mtimehash not found; skipping file timestamp normalization (Go test cache may be cold)"
fi
find . -type d ! -path ./.git/\*\* -exec touch -t 200601010000 {} +
- name: Normalize Terraform Path for Caching
shell: bash
# Terraform gets installed in a random directory, so we need to normalize
# the path or many cached tests will be invalidated.
run: |
mkdir -p "$RUNNER_TEMP/sym"
source scripts/normalize_path.sh
normalize_path_with_symlinks "$RUNNER_TEMP/sym" "$(dirname "$(which terraform)")"
# We run race tests with reduced parallelism because they use more CPU and we were finding
# instances where tests appear to hang for multiple seconds, resulting in flaky tests when
# short timeouts are used.
# c.f. discussion on https://github.com/coder/coder/pull/15106
# Our Linux runners have 16 cores, but we reduce parallelism since race detection adds a lot of overhead.
# We aim to have parallelism match CPU count (4*4=16) to avoid making flakes worse.
- name: Run Tests
uses: ./.github/actions/test-go-pg
with:
postgres-version: "17"
test-parallelism-packages: "4"
test-parallelism-tests: "4"
race-detection: "true"
gotestsum-json-file: default
- name: Publish Go test failure report
if: failure() && github.actor != 'dependabot[bot]' && runner.os == 'Linux' && (github.event_name != 'pull_request' || !github.event.pull_request.head.repo.fork)
uses: ./.github/actions/go-test-failure-report
with:
artifact-name: go-test-failures-${{ github.job }}-${{ github.sha }}
- name: Upload Test Cache
uses: ./.github/actions/test-cache/upload
with:
cache-key: ${{ steps.download-cache.outputs.cache-key }}
- name: Upload test stats to Datadog
timeout-minutes: 1
continue-on-error: true
uses: ./.github/actions/upload-datadog
if: always()
with:
api-key: ${{ secrets.DATADOG_API_KEY }}
# Tailnet integration tests only run when the `tailnet` directory or `go.sum`
# and `go.mod` are changed. These tests are to ensure we don't add regressions
# to tailnet, either due to our code or due to updating dependencies.
#
# These tests are skipped in the main go test jobs because they require root
# and mess with networking.
test-go-tailnet-integration:
runs-on: ${{ github.repository_owner == 'coder' && 'depot-ubuntu-22.04-8' || 'ubuntu-latest' }}
needs: changes
# Unnecessary to run on main for now
if: needs.changes.outputs.tailnet-integration == 'true' || needs.changes.outputs.ci == 'true'
timeout-minutes: 20
steps:
- name: Harden Runner
uses: step-security/harden-runner@aebdcf6156ab6691adf63218240e476564a1ed4c # v2.23.0
with:
egress-policy: audit
- name: Checkout
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
fetch-depth: 1
persist-credentials: false
- name: Set up mise tools
uses: ./.github/actions/setup-mise
with:
install-args: "go"
# Used by some integration tests.
- name: Install Nginx
run: sudo apt-get update && sudo apt-get install -y nginx
- name: Download Go modules
run: ./.github/scripts/retry.sh --timeout 120 -- go mod download
- name: Run Tests
run: make test-tailnet-integration
test-js:
runs-on: ${{ github.repository_owner == 'coder' && 'depot-ubuntu-22.04-8' || 'ubuntu-latest' }}
needs: changes
if: needs.changes.outputs.site == 'true' || needs.changes.outputs.ci == 'true' || github.ref == 'refs/heads/main'
timeout-minutes: 20
steps:
- name: Harden Runner
uses: step-security/harden-runner@aebdcf6156ab6691adf63218240e476564a1ed4c # v2.23.0
with:
egress-policy: audit
- name: Checkout
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
fetch-depth: 1
persist-credentials: false
- name: Set up mise tools
uses: ./.github/actions/setup-mise
with:
install-args: "node pnpm"
- name: Install pnpm dependencies
uses: ./.github/actions/pnpm-install
- run: pnpm test:ci --max-workers "$(nproc)"
working-directory: site
test-e2e:
runs-on: ${{ github.repository_owner == 'coder' && 'depot-ubuntu-22.04-4' || 'ubuntu-latest' }}
needs: changes
strategy:
fail-fast: false
matrix:
variant:
- premium: false
name: test-e2e
#- premium: true
# name: test-e2e-premium
# Skip test-e2e on forks as they don't have access to CI secrets
if: (needs.changes.outputs.go == 'true' || needs.changes.outputs.site == 'true' || needs.changes.outputs.ci == 'true' || github.ref == 'refs/heads/main') && !(github.event.pull_request.head.repo.fork)
timeout-minutes: 20
name: ${{ matrix.variant.name }}
steps:
- name: Harden Runner
uses: step-security/harden-runner@aebdcf6156ab6691adf63218240e476564a1ed4c # v2.23.0
with:
egress-policy: audit
- name: Checkout
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
fetch-depth: 1
persist-credentials: false
- name: Set up mise tools
uses: ./.github/actions/setup-mise
with:
install-args: "go node pnpm"
- name: Install pnpm dependencies
uses: ./.github/actions/pnpm-install
# Assume that the checked-in versions are up-to-date
- run: make gen/mark-fresh
name: make gen
- run: pnpm build
env:
NODE_OPTIONS: ${{ github.repository_owner == 'coder' && '--max_old_space_size=8192' || '' }}
working-directory: site
- name: Download Go modules
run: ./.github/scripts/retry.sh --timeout 120 -- go mod download
- run: make site/e2e/bin/coder
name: make coder
- run: pnpm exec playwright install chromium
working-directory: site
# Cache the Coder release binaries downloaded by the outdatedCLI /
# outdatedAgent e2e tests so most runs skip the flaky GitHub release
# download entirely. The cache key is keyed off the file that pins the
# downloaded versions, so it invalidates when those versions change.
- name: Restore e2e Coder release binary cache
id: coder-e2e-cache
uses: actions/cache/restore@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
with:
# Depot caches are shared across branches, so trusted runs only
# look the key up and never run binaries a pull request wrote.
lookup-only: ${{ github.event_name != 'pull_request' }}
path: /tmp/coder-e2e-cache
key: coder-e2e-cache-${{ runner.os }}-${{ hashFiles('site/e2e/constants.ts') }}
restore-keys: |
coder-e2e-cache-${{ runner.os }}-
# Run tests that don't require a premium license without a premium license
- run: pnpm playwright:test --forbid-only --workers 1
if: ${{ !matrix.variant.premium }}
env:
DEBUG: pw:api
working-directory: site
# Run all of the tests with a premium license
- run: pnpm playwright:test --forbid-only --workers 1
if: ${{ matrix.variant.premium }}
env:
DEBUG: pw:api
CODER_E2E_LICENSE: ${{ secrets.CODER_E2E_LICENSE }}
CODER_E2E_REQUIRE_PREMIUM_TESTS: "1"
working-directory: site
- name: Save e2e Coder release binary cache
# Only the default branch is trusted to write the cache, so PR runs
# cannot poison the cache that subsequent runs restore from. Skip when
# the cache already had an exact key hit (no new content).
if: always() && github.ref == 'refs/heads/main' && steps.coder-e2e-cache.outputs.cache-hit != 'true'
uses: actions/cache/save@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
with:
path: /tmp/coder-e2e-cache
key: ${{ steps.coder-e2e-cache.outputs.cache-primary-key }}
- name: Upload Playwright failure artifacts
if: failure() && github.actor != 'dependabot[bot]' && runner.os == 'Linux' && !github.event.pull_request.head.repo.fork
uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
with:
name: playwright-artifacts-${{ matrix.variant.name }}-${{ github.sha }}
path: |
./site/test-results/**
./site/playwright-report/**
retention-days: 7
- name: Publish Playwright failure summary
if: failure() && github.actor != 'dependabot[bot]' && runner.os == 'Linux' && !github.event.pull_request.head.repo.fork
env:
MATRIX_VARIANT: ${{ matrix.variant.name }}
GITHUB_SHA_SHORT: ${{ github.sha }}
run: bash scripts/playwright-failure-summary.sh site/test-results/results.json >> "$GITHUB_STEP_SUMMARY"
- name: Upload debug log
if: failure() && github.actor != 'dependabot[bot]' && runner.os == 'Linux' && !github.event.pull_request.head.repo.fork
uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
with:
name: coderd-debug-logs-${{ matrix.variant.name }}-${{ github.sha }}
path: ./site/e2e/test-results/debug.log
retention-days: 7
- name: Upload pprof dumps
if: failure() && github.actor != 'dependabot[bot]' && runner.os == 'Linux' && !github.event.pull_request.head.repo.fork
uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
with:
name: debug-pprof-dumps-${{ matrix.variant.name }}-${{ github.sha }}
path: ./site/test-results/**/debug-pprof-*.txt
retention-days: 7
storybook:
name: Storybook
needs: changes
# Pull requests only snapshot Storybook when the frontend or CI changes.
# Every push to main and release branches still snapshots, which keeps
# the Pixel baseline current.
if: needs.changes.outputs.site == 'true' || needs.changes.outputs.ci == 'true' || github.event_name != 'pull_request'
runs-on: ${{ github.repository_owner == 'coder' && 'depot-ubuntu-24.04-16' || 'ubuntu-latest' }}
# Forks and Dependabot receive no secrets, so they only build Storybook;
# trusted runs snapshot it against Pixel instead.
env:
PIXEL_ENABLED: ${{ github.event_name != 'pull_request' || (!github.event.pull_request.head.repo.fork && github.actor != 'dependabot[bot]') }}
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
name: Checkout
with:
persist-credentials: false
- uses: pnpm/action-setup@73e46992e05b19abd31f2f3c20e0e7370d762115 # v6.1.1
name: Install dependencies
with:
run_install: true
# Depot caches are shared across branches, so trusted runs, which
# hold PIXEL_KEY, must not restore a store a pull request wrote.
cache: ${{ github.event_name == 'pull_request' }}
- run: pnpm exec playwright install chromium
working-directory: site/
name: Install Chromium
- run: pnpm storybook:build
working-directory: site/
name: Build
if: env.PIXEL_ENABLED != 'true'
- run: pnpm pixel-storybook:ci
working-directory: site/
name: Snapshot
if: env.PIXEL_ENABLED == 'true'
env:
PIXEL_KEY: ${{ secrets.PIXEL_KEY }}
PIXEL_AUTO_REVIEW: ${{ github.repository_owner == 'coder' && github.ref_name == 'main' }}
offlinedocs:
name: offlinedocs
needs: changes
runs-on: ${{ github.repository_owner == 'coder' && 'depot-ubuntu-22.04-8' || 'ubuntu-latest' }}
if: needs.changes.outputs.offlinedocs == 'true' || needs.changes.outputs.ci == 'true' || needs.changes.outputs.docs == 'true'
steps:
- name: Harden Runner
uses: step-security/harden-runner@aebdcf6156ab6691adf63218240e476564a1ed4c # v2.23.0
with:
egress-policy: audit
- name: Checkout
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
# 0 is required here for version.sh to work.
fetch-depth: 0
persist-credentials: false
- name: Set up mise tools
uses: ./.github/actions/setup-mise
with:
install-args: "go node pnpm protoc protoc-gen-go"
- name: Install pnpm dependencies
uses: ./.github/actions/pnpm-install
with:
directory: offlinedocs
- name: Install Go mise tools
run: ./.github/scripts/retry.sh -- mise install --locked go:storj.io/drpc/cmd/protoc-gen-go-drpc go:github.com/coder/sqlc/cmd/sqlc
- name: Download Go modules
run: ./.github/scripts/retry.sh --timeout 120 -- go mod download
- name: Format
run: |
cd offlinedocs
pnpm format:check
- name: Lint
run: |
cd offlinedocs
pnpm lint
- name: Build
# no `-j` flag as `make` fails with:
# coderd/rbac/object_gen.go:1:1: syntax error: package statement must be first
run: |
make build/coder_docs_"$(./scripts/version.sh)".tgz
- name: Check for unstaged files
run: ./scripts/check_unstaged.sh
required:
runs-on: ubuntu-latest
needs:
- changes
- fmt
- lint
- lint-docs
- lint-actions
- gen
- test-go-pg
- test-go-pg-17
- test-go-race-pg
- test-js
- test-e2e
- offlinedocs
- sqlc-vet
- check-build
# Allow this job to run even if the needed jobs fail, are skipped or
# cancelled.
if: always()
steps:
- name: Harden Runner
uses: step-security/harden-runner@aebdcf6156ab6691adf63218240e476564a1ed4c # v2.23.0
with:
egress-policy: audit
- name: Ensure required checks
run: | # zizmor: ignore[template-injection] We're just reading needs.x.result here, no risk of injection
echo "Checking required checks"
echo "- changes: ${{ needs.changes.result }}"
echo "- fmt: ${{ needs.fmt.result }}"
echo "- lint: ${{ needs.lint.result }}"
echo "- lint-docs: ${{ needs.lint-docs.result }}"
echo "- lint-actions: ${{ needs.lint-actions.result }}"
echo "- gen: ${{ needs.gen.result }}"
echo "- test-go-pg: ${{ needs.test-go-pg.result }}"
echo "- test-go-pg-17: ${{ needs.test-go-pg-17.result }}"
echo "- test-go-race-pg: ${{ needs.test-go-race-pg.result }}"
echo "- test-js: ${{ needs.test-js.result }}"
echo "- test-e2e: ${{ needs.test-e2e.result }}"
echo "- offlinedocs: ${{ needs.offlinedocs.result }}"
echo "- check-build: ${{ needs.check-build.result }}"
echo
# We allow skipped jobs to pass, but not failed or cancelled jobs.
if [[ "${{ contains(needs.*.result, 'failure') }}" == "true" || "${{ contains(needs.*.result, 'cancelled') }}" == "true" ]]; then
echo "One of the required checks has failed or has been cancelled"
exit 1
fi
echo "Required checks have passed"
check-build:
# Compile-checks the slim binary for every OS and architecture we ship.
# Nothing is signed, and the job has no environment, so it can't reach the
# signing secrets or identities. Signed builds run in build.yaml and
# release.yaml.
needs: changes
if: (needs.changes.outputs.go == 'true' || needs.changes.outputs.ci == 'true') && github.ref != 'refs/heads/main'
runs-on: ${{ github.repository_owner == 'coder' && 'depot-ubuntu-22.04-8' || 'ubuntu-latest' }}
steps:
- name: Harden Runner
uses: step-security/harden-runner@aebdcf6156ab6691adf63218240e476564a1ed4c # v2.23.0
with:
egress-policy: audit
- name: Checkout
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
fetch-depth: 0
persist-credentials: false
- name: Build
uses: ./.github/actions/build-coder
with:
targets: build-slim
# sqlc-vet runs a postgres docker container, runs Coder migrations, and then
# runs sqlc-vet to ensure all queries are valid. This catches any mistakes
# in migrations or sqlc queries that makes a query unable to be prepared.
sqlc-vet:
runs-on: ${{ github.repository_owner == 'coder' && 'depot-ubuntu-22.04-8' || 'ubuntu-latest' }}
needs: changes
if: needs.changes.outputs.db == 'true' || needs.changes.outputs.ci == 'true' || github.ref == 'refs/heads/main'
steps:
- name: Harden Runner
uses: step-security/harden-runner@aebdcf6156ab6691adf63218240e476564a1ed4c # v2.23.0
with:
egress-policy: audit
- name: Checkout
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
fetch-depth: 1
persist-credentials: false
- name: Set up mise tools
uses: ./.github/actions/setup-mise
with:
install-args: "go"
- name: Install Go mise tools
run: ./.github/scripts/retry.sh -- mise install --locked go:github.com/coder/sqlc/cmd/sqlc
- name: Download Go modules
run: ./.github/scripts/retry.sh --timeout 120 -- go mod download
- name: Setup and run sqlc vet
run: |
make sqlc-vet
notify-slack-on-failure:
needs:
- required
runs-on: ubuntu-latest
environment: main
if: failure() && github.ref == 'refs/heads/main'
steps:
- name: Send Slack notification
run: |
ESCAPED_PROMPT=$(printf "%s" "<@U09LQ75AHKR> $BLINK_CI_FAILURE_PROMPT" | jq -Rsa .)
curl -X POST -H 'Content-type: application/json' \
--data '{
"blocks": [
{
"type": "header",
"text": {
"type": "plain_text",
"text": "❌ CI Failure in main",
"emoji": true
}
},
{
"type": "section",
"text": {
"type": "mrkdwn",
"text": "*View failure:* <'"${RUN_URL}"'|Click here>"
}
},
{
"type": "section",
"text": {
"type": "mrkdwn",
"text": '"$ESCAPED_PROMPT"'
}
}
]
}' "${SLACK_WEBHOOK}"
env:
SLACK_WEBHOOK: ${{ secrets.CI_FAILURE_SLACK_WEBHOOK }}
RUN_URL: "${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}"
BLINK_CI_FAILURE_PROMPT: ${{ vars.BLINK_CI_FAILURE_PROMPT }}