Commit Graph
429 Commits
Author SHA1 Message Date
Kyle CarberryandClaude Opus 5.5 e7ff0c41be ci: releases need a second approver and come only from attested builds (#8143)
* ci: releases need a second approver and come only from attested builds

The Release workflow builds the packages from a commit on main (the merge commit of an update/
PR, or a commit given to a dispatch on main) and attests each file's provenance. A member of
code-server-release-team other than the person who started the run then approves the
release-approval environment. Only that job, as the coder-release-publisher App (key in Cloud
KMS), creates the tag and publishes the release with the attested files, in one step. Releases
are immutable, so the files can't change after that, and there is no draft for anyone to edit.

publish.yaml publishes nothing until it has checked that the release came from
coder-release-publisher, is immutable, and that every file was attested by release.yaml from main.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* ci: upload release-packages directly instead of copying it

package.tar.gz is now written into release-packages next to the platform packages, so every build
job attests and uploads one flat directory without a copy.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* ci: remove a doubled blank line in release.yaml

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 00:54:42 +00:00
Dean Sheather 452dd0982a ci: remove Codecov 2026-11-18 10:09:35 -09:00
Kyle CarberryandClaude Opus 5.5 7f90477f73 ci: mint the coder-automations App token with Cloud KMS (#8137)
* ci: mint the coder-automations App token with Cloud KMS

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* ci: validate the publish version before it reaches the shell

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-17 18:24:46 -05:00
Asher 910dcd28ab Remove discussions permission
Discussions have not been created for several years now.  There might be
a bug somehere, but for now at least, make it official.
2026-11-16 12:17:27 -09:00
Asher 111321987c Break AUR PR command into multiple lines 2026-11-16 12:13:09 -09:00
Asher c845f62dc0 Remove unnecessary token env in npm publish step 2026-11-16 12:12:22 -09:00
Asher 9779a4b8c0 Replace GitHub bot token (#8136)
For the coder/code-server-aur update, generate a token using our GitHub
app instead.

For the others that open PRs against coder/code-server, just use
GITHUB_TOKEN since that apparently works.  I also moved the env block to
the step that executes the `gh` cli rather than setting it job-level, mostly to 
match the aur step, but also to make it clearer where the env var actually
applies.

PRs created through GITHUB_TOKEN apparently cannot trigger other
workflows, but I think it should be OK to trigger them manually (will
switch to the app if this becomes annoying).
2026-11-16 12:12:06 -09:00
Asher e28b722971 Move vscode cache version to a var
This is not a secret, just a way to force busting the cache.
2026-11-16 10:51:29 -09:00
Asher 4a20c7a0a1 Use oidc for publishing to npm (#8134)
* Use oidc for publishing to npm
* Remove contents:read
  Examples show it but it is probably not required?
2026-11-16 10:43:52 -09:00
Jon Ayers ed321cd7f9 Use oidc for dockerhub auth (#8131)
* Use Docker Hub OIDC for publish workflow login

Replace the DOCKER_USERNAME/DOCKER_PASSWORD secrets with an OIDC
(workload identity federation) login to Docker Hub. The docker job now
grants id-token: write and passes the OIDC connection ID via the
DOCKERHUB_OIDC_CONNECTIONID repository variable.

* Run docker publish job in the release environment

Scopes the Docker Hub OIDC subject claim to
repo:coder/code-server:environment:release.
2026-11-16 09:53:25 -09:00
Asher e609bb06e3 Render Helm template for kubeconform 2026-11-04 14:39:00 -09:00
dependabot[bot] 7c77a28768 Bump actions/setup-node from 7.0.0 to 7.1.0 (#8103) 2026-11-02 23:34:30 +00:00
dependabot[bot] ee16a40e41 Bump softprops/action-gh-release from 3.0.2 to 3.0.3 (#8105) 2026-11-02 13:33:33 -09:00
dependabot[bot] e73622adaf Bump actions/upload-artifact from 7.0.1 to 7.0.2 (#8104) 2026-11-02 13:33:09 -09:00
dependabot[bot] 734cdc9947 Bump aquasecurity/trivy-action (#8102) 2026-11-02 13:32:22 -09:00
Asher 74d06e2e36 Update remaining codeql actions
Also add a group since they have to all be updated together.
2026-11-02 13:20:36 -09:00
dependabot[bot] 973937ecf2 Bump github/codeql-action/upload-sarif from 4.37.6 to 4.39.1 (#8093) 2026-11-02 12:46:59 -09:00
dependabot[bot] c88b56cddc Bump docker/setup-qemu-action from 4.3.0 to 4.4.0 (#8090) 2026-11-02 12:33:59 -09:00
dependabot[bot] cad47a78f1 Bump github/codeql-action/analyze from 4.38.2 to 4.39.1 (#8096) 2026-11-02 12:33:20 -09:00
dependabot[bot] b4725f8be9 Bump docker/login-action from 4.6.0 to 4.7.0 (#8097) 2026-11-02 12:32:39 -09:00
dependabot[bot] 68d5f022a5 Bump actions/download-artifact from 8.0.1 to 8.0.2 (#8098) 2026-11-02 12:32:06 -09:00
cdrci 8b41915d25 Update Code to 1.141.0 (#8040)
* Update Code to 1.141.0
* Allow pull_request_target
* Add e2e tests for remote storage
* Fix Typescript extension not loading
* Remove unused imports
2026-10-07 22:54:47 -08:00
dependabot[bot] 317a591ed7 Bump docker/setup-buildx-action from 4.3.0 to 4.4.1 (#8027) 2026-10-07 17:37:57 -08:00
dependabot[bot] 8b20b3e128 Bump github/codeql-action/analyze from 4.37.9 to 4.38.2 (#8032) 2026-10-07 16:40:21 -08:00
dependabot[bot] 48b45385f7 Bump github/codeql-action/init from 4.37.9 to 4.38.2 (#8034) 2026-10-07 16:38:41 -08:00
dependabot[bot] 74571ff255 Bump codecov/codecov-action from 7.0.0 to 7.1.1 (#8035) 2026-10-07 16:36:49 -08:00
dependabot[bot] 04ab55c4f2 Bump github/codeql-action/autobuild from 4.37.8 to 4.38.2 (#8036) 2026-10-07 16:36:15 -08:00
cdrci 53c2f3253b Update Code to 1.139.1 (#8021)
* Update Code to 1.139.1
* Bump proxy-addr to 2.0.8
* Add preinstall setup to build
  Already had this in the release build step, not sure why it is not in
  the main build step.  But we started getting errors building native
  modules in ci, and this seems to be why.
* Fix quick input
  It types too quickly, before the input is visible.
2026-09-25 15:12:50 -08:00
dependabot[bot] 7f25500e74 Bump aquasecurity/trivy-action to latest (#7966) 2026-09-08 13:24:21 -08:00
dependabot[bot] e57e399b41 Bump github/codeql-action/init from 4.37.8 to 4.37.9 (#7999) 2026-09-08 13:18:55 -08:00
dependabot[bot] 61ad19ca2a Bump dorny/paths-filter from 4.0.1 to 4.0.3 (#8000) 2026-09-08 13:15:18 -08:00
dependabot[bot] b262510fd8 Bump github/codeql-action/analyze from 4.37.6 to 4.37.9 (#8001) 2026-09-08 13:14:51 -08:00
dependabot[bot] bcfff05ae9 Bump docker/setup-buildx-action from 4.1.0 to 4.3.0 (#7995) 2026-09-08 13:14:25 -08:00
denusklo dc044303c7 Add a windows package job to the release workflow (#7987) 2026-09-08 13:13:59 -08:00
Asher 8604302ded Run lint-ts on ci and npm changes 2026-09-08 12:57:11 -08:00
dependabot[bot] 9219c40229 Bump softprops/action-gh-release from 3.0.2 to 3.0.3 (#7997) 2026-09-08 12:54:14 -08:00
dependabot[bot] 0bb6a31fb0 Bump heyhusen/archlinux-package-action from 3.0.0 to 3.0.1 (#7968) 2026-09-08 12:53:23 -08:00
dependabot[bot] 0e439cb9dc Bump docker/setup-qemu-action from 4.1.0 to 4.3.0 (#7969) 2026-09-08 12:52:57 -08:00
dependabot[bot] 716a4eedbe Bump github/codeql-action/autobuild from 4.37.6 to 4.37.8 (#7974) 2026-09-08 12:50:22 -08:00
dependabot[bot] 577da3111f chore: bump github/codeql-action/init from 4.37.6 to 4.37.8 (#7975) 2026-09-08 12:49:54 -08:00
Asher 2d5dbf0b77 Update codeql actions to 4.37.6
One was updated by Dependabot, but not the others.
2026-08-19 14:57:47 -08:00
Asher fa4426393e Run unit tests when npm deps change 2026-08-19 14:31:06 -08:00
dependabot[bot] 2edeb1c991 chore: bump github/codeql-action/upload-sarif from 4.36.2 to 4.37.6 (#7917) 2026-08-19 13:28:08 -08:00
dependabot[bot] 02badb2056 chore: bump github/codeql-action/init from 4.36.2 to 4.37.6 (#7918) 2026-08-19 13:24:38 -08:00
dependabot[bot] fb43d02d10 chore: bump docker/login-action from 4.2.0 to 4.6.0 (#7919) 2026-08-19 13:23:12 -08:00
dependabot[bot] b9653442b3 chore: bump softprops/action-gh-release from 3.0.1 to 3.0.2 (#7920) 2026-08-19 13:22:48 -08:00
dependabot[bot] 30852bb006 chore: bump actions/setup-node from 6.4.0 to 7.0.0 (#7921) 2026-08-19 13:22:13 -08:00
cdrci c22dc74d53 Update Helm chart and changelog with 4.133.0 (#7951) 2026-08-17 15:58:30 -08:00
dependabot[bot] 1dabd152be chore: bump actions/checkout from 6.0.3 to 7.0.1 (#7874) 2026-07-21 19:18:19 +00:00
dependabot[bot] b99ce9a992 chore: bump actions/cache from 5.0.5 to 6.1.0 (#7875) 2026-07-21 11:12:59 -08:00