Skip to content

Replace GitHub bot token - #8136

Merged
code-asher merged 2 commits into
mainfrom
asher/app-token
Nov 16, 2026
Merged

code-asher merged 2 commits into
mainfrom
asher/app-token

Conversation

@code-asher

@code-asher code-asher commented Nov 16, 2026 •

Copy link
Copy Markdown
Member

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 what the env var is actually for.

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).

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.
@code-asher
code-asher requested a review from a team as a code owner November 16, 2026 20:27

@aslilac aslilac left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

seems legit

@code-asher
code-asher merged commit 9779a4b into main Nov 16, 2026
19 of 20 checks passed
@code-asher
code-asher deleted the asher/app-token branch November 16, 2026 21:12
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