Skip to content

ci(aur): open the AUR update PR from coder/code-server-aur, not a fork - #8151

Merged
kylecarbs merged 1 commit into
mainfrom
ci/aur-no-fork
Nov 20, 2026
Merged

kylecarbs merged 1 commit into
mainfrom
ci/aur-no-fork

Conversation

@kylecarbs

Copy link
Copy Markdown
Member

The aur job now mints its token from the coder-automations App (Cloud KMS), and the App is installed on coder/code-server-aur as of today. The job was still written for the old cdrci personal token, though: it checks out the cdrci/code-server-aur fork, force-syncs it, pushes the update branch there, and opens the PR from the fork. An App token can't push to a fork owned by a user account, so v4.146.0's aur job failed with:

error: failed to push some refs to 'https://github.com/cdrci/code-server-aur'

This checks out coder/code-server-aur itself and pushes the update-version-* branch there, so the PR opens from the same repo. master still needs an approved PR before code-server-aur's publish.yaml pushes to the AUR. The fork-sync step is removed.

(The ERROR: There is no secret key available to sign with line in that log comes from pacman's keyring setup inside archlinux-package-action. It doesn't fail the job.)

Like #8150, this takes effect from the next release: release only accepts v* tags, so rerunning v4.146.0 uses the tag's copy. v4.146.0's AUR update needs a manual PR in coder/code-server-aur.

🤖 Generated with Claude Code

The aur job now gets its token from the coder-automations App, which is
installed on coder/code-server-aur but can't push to the cdrci user's
fork, so the v4.146.0 job failed with "failed to push some refs to
cdrci/code-server-aur". Check out coder/code-server-aur, push the update
branch there and open the PR from it; the fork sync step goes away.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@kylecarbs
kylecarbs requested a review from a team as a code owner November 20, 2026 19:52
@kylecarbs
kylecarbs enabled auto-merge (squash) November 20, 2026 19:54
@kylecarbs
kylecarbs merged commit 7dc93bd into main Nov 20, 2026
10 checks passed
@kylecarbs
kylecarbs deleted the ci/aur-no-fork branch November 20, 2026 19:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants