github: shadowy octopus with the head of a robot, emblazoned with the Dreamwidth swirl (Default)
github ([personal profile] github) wrote in [site community profile] changelog2026-06-07 04:29 am

[dreamwidth/dreamwidth] ae20d9: Add issue/PR triage bot as a GitHub Actions workfl...

Branch: refs/heads/main Home: https://github.com/dreamwidth/dreamwidth Commit: ae20d9255f9bdd48fa6a3922e390b56d59c77ce1 https://github.com/dreamwidth/dreamwidth/commit/ae20d9255f9bdd48fa6a3922e390b56d59c77ce1 Author: Mark Smith mark@dreamwidth.org Date: 2026-06-07 (Sun, 07 Jun 2026)

Changed paths: A .github/workflows/issue-triage-bot.yml

Log Message:


Add issue/PR triage bot as a GitHub Actions workflow (#3560)

Replaces the legacy ghi-assist webhook server (a Bottle app supervised by 'angel' on va-admin01) with an in-repo Actions workflow. A single actions/github-script step dispatches on issues/issue_comment/ pull_request_target events and reproduces every ghi-assist hook: label new issues/PRs from ##label lines (else status: untriaged), additive

label application from comments, claim-by-comment, assign-related-issue

from a PR's #N reference, status: claimed toggling on (un)assignment, and from: support tagging on dreamwidth.org/support links. Uses the built-in GITHUB_TOKEN (no webhook server, secret, or bot account); repo labels are autoloaded as the whitelist and the effort/severity aliases are preserved.

Comment-driven labeling is additive here (the original replaced all labels). pull_request_target is used so fork PRs get a write-scoped token; the script only reads payload metadata and calls the labels/assign API (no PR checkout).

Co-authored-by: Claude Opus 4.8 (1M context) noreply@anthropic.com

To unsubscribe from these emails, change your notification settings at https://github.com/dreamwidth/dreamwidth/settings/notifications