chore: use shared reusable PR triage workflow #42

Merged
forgejo-bot merged 2 commits from chore/triage_drop_token into main 2026-10-16 15:22:04 +00:00
Owner

Follow-up to #41: calling shared/actions/pr-auto-merge directly fails twice over — without an audience the scheduled merge maps to the pseudo user (uid -2) and never completes; without a token input the action errors out. Switch to the shared reusable triage workflow (shared/workflows/pr-triage.yml@main): branch-name labels, conventional title, auto-merge scheduling via Authorized Integration JWT. We only pass the PR number and inherit secrets.

Also updates the PR title convention in AGENTS.md: the triage chain enforces conventional titles, so the [issue-nr] prefix moves to the PR body (Closes #<nr>).

Closes #29

Follow-up to #41: calling `shared/actions/pr-auto-merge` directly fails twice over — without an audience the scheduled merge maps to the pseudo user (uid -2) and never completes; without a token input the action errors out. Switch to the shared reusable triage workflow (`shared/workflows/pr-triage.yml@main`): branch-name labels, conventional title, auto-merge scheduling via Authorized Integration JWT. We only pass the PR number and inherit secrets. Also updates the PR title convention in AGENTS.md: the triage chain enforces conventional titles, so the `[issue-nr]` prefix moves to the PR body (`Closes #<nr>`). Closes #29
fix: drop explicit token from pr-auto-merge step
Some checks failed
PR Triage / Label and schedule auto-merge (pull_request) Failing after 16s
CI / ci (pull_request) Successful in 3m50s
552cf2dc10
An explicit secrets.GITHUB_TOKEN maps to the pseudo user (uid -2)
whose scheduled merges fail at merge time. Without the input the
action falls back to the job's ambient token, which resolves to a
real user and lets the forgejo-bot manager complete the merge.

Co-Authored-By: OpenCode <opencode@noreply.code.hoppe-dev.eu>
fix: use shared reusable PR triage workflow
Some checks failed
PR Triage / Triage pull request (pull_request) Failing after 0s
PR Triage / Triage pull request-1 (pull_request) Failing after 15s
CI / ci (pull_request) Successful in 4m46s
994905b9ee
Calling pr-auto-merge directly fails twice over: without an audience
the scheduled merge maps to the pseudo user (uid -2) and never
completes; without a token input the action errors out (the composite
env overrides GITHUB_TOKEN with the empty input). Switch to the shared
reusable triage workflow (branch-name labels, conventional title,
auto-merge scheduling via Authorized Integration JWT) - we only pass
the PR number and inherit secrets.

Updates the PR title convention in AGENTS.md accordingly: the triage
chain enforces conventional titles, so the [issue-nr] prefix moves to
the PR body (Closes #<nr>).

Co-Authored-By: OpenCode <opencode@noreply.code.hoppe-dev.eu>
OpenCode changed title from fix: drop explicit token from pr-auto-merge step to fix: use shared reusable PR triage workflow 2026-10-16 15:21:57 +00:00
forgejo-actions changed title from fix: use shared reusable PR triage workflow to chore: use shared reusable PR triage workflow 2026-10-16 15:21:59 +00:00
forgejo-bot scheduled this pull request to auto merge when all checks succeed 2026-10-16 15:21:59 +00:00
forgejo-bot canceled auto merging this pull request when all checks succeed 2026-10-16 15:22:03 +00:00
forgejo-bot scheduled this pull request to auto merge when all checks succeed 2026-10-16 15:22:04 +00:00
forgejo-bot deleted branch chore/triage_drop_token 2026-10-16 15:22:08 +00:00
Sign in to join this conversation.
No description provided.