Skip to content

run CI on the release PR with a GitHub App token - #3928

Merged
utam0k merged 1 commit into
youki-dev:mainfrom
utam0k:release-pr-ci
Nov 23, 2026
Merged

utam0k merged 1 commit into
youki-dev:mainfrom
utam0k:release-pr-ci

Conversation

@utam0k

@utam0k utam0k commented Nov 23, 2026 •

Copy link
Copy Markdown
Member

Description

CI doesn't run on the release PR, because tagpr uses GITHUB_TOKEN. This makes tagpr use a GitHub App token instead.

  • CI runs on the release PR, so we can merge it without admin rights.
  • The tag push starts release.yaml, so the dispatch step is removed.
  • label.yaml accepts the tagpr label, so the required label check passes on the release PR.

Needs the BOT_CLIENT_ID variable and the BOT_PRIVATE_KEY secret before merging. Set.

Type of Change

  • CI/CD related changes

Signed-off-by: utam0k <k0ma@utam0k.jp>
@utam0k utam0k added the kind/cleanup Categorizes issue or PR as related to cleaning up code, process, or technical debt. label Nov 23, 2026
@utam0k
utam0k requested a review from a team November 23, 2026 08:49
@saku3
saku3 requested a balanced review from Copilot November 23, 2026 09:21

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟢 Approval recommended

No active review issues were identified for the GitHub App release automation and label-check changes.

No open issues 🎉

What changed in this PR

This PR switches release automation to a GitHub App token so release PRs can trigger CI and tag pushes can start the release workflow without a manual dispatch.

Changes:

  • Generates a scoped GitHub App token for checkout and tagpr, with execution restricted to youki-dev/youki.
  • Removes the explicit release workflow dispatch in favor of tag-push triggering.
  • Accepts tagpr as a valid label for the required label check.
File Description
.github/​workflows/​tagpr.yaml Uses GitHub App authentication, disables persisted checkout credentials, and removes manual release dispatch.
.github/​workflows/​label.yaml Adds tagpr to the accepted labels.

Review effort: Balanced

@saku3 saku3 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.

Thanks!

@utam0k
utam0k merged commit f330e83 into youki-dev:main Nov 23, 2026
36 checks passed
@youki-dev-bot youki-dev-bot Bot mentioned this pull request Nov 23, 2026
@utam0k
utam0k deleted the release-pr-ci branch November 23, 2026 11:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind/cleanup Categorizes issue or PR as related to cleaning up code, process, or technical debt.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants