11 Commits
Author SHA1 Message Date
Kyle CarberryandClaude Opus 5.5 eaf39d72a9 ci: open the update and Helm/changelog PRs as coder-automations (#8153)
* ci: open the update and Helm/changelog PRs as coder-automations

The org doesn't let GITHUB_TOKEN create pull requests, so publish.yaml's
repo job failed to open the v4.146.0 Helm/changelog PR, and update.yaml
will fail to open the next "Update Code to X" PR.

Both jobs now check out without persisted credentials, run their update
script, then mint a coder-automations token (Cloud KMS) for
coder/code-server only, and push and open the PR with it. update.yaml
runs in the new main-only update environment; the repo job in release.
GITHUB_TOKEN drops to contents: read. PRs opened by the App also trigger
CI, which GITHUB_TOKEN-created ones didn't.

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

* ci(publish): no dependency cache in the npm publish job

setup-node caches the package manager's store by default, so a cache
saved by another run could reach the job that publishes to npm. Turn it
off there (zizmor cache-poisoning).

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

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 16:01:04 +00: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
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] 1e2b734be8 chore: bump awalsh128/cache-apt-pkgs-action from 1.6.1 to 1.6.3 (#7877) 2026-07-20 14:04:23 -08:00
dependabot[bot] 9545b26036 Bump awalsh128/cache-apt-pkgs-action from 1.6.0 to 1.6.1 (#7855) 2026-06-16 12:01:52 -08:00
dependabot[bot] a7f457046f Bump actions/checkout from 6.0.2 to 6.0.3 (#7852) 2026-06-16 11:51:19 -08:00
dependabot[bot] 7393d50b09 chore: bump awalsh128/cache-apt-pkgs-action from 1.5.3 to 1.6.0 (#7832) 2026-06-16 09:03:28 -08:00
Asher cd1586214e Remove "VS" from updates
Technically it is Code (or Code OSS), not VS Code.
2026-05-20 14:09:10 -08:00
Asher 93ce398e28 Make update cron run twice daily
Every hour seems aggressive, typically I will only check for PRs once a
day anyway.
2026-05-08 09:58:12 -08:00
Asher 62a552d896 Check for updates on a schedule 2026-05-07 15:20:49 -08:00
Asher 58491f317f Add workflow for updating VS Code
For now it is manually triggered.
2026-05-07 10:46:13 -08:00