Skip to content

ci: label taxonomy, AI/Copilot automation, and split release workflows#80

Merged
duzos merged 6 commits into
masterfrom
ci/labels-release-automation
Jun 7, 2026
Merged

ci: label taxonomy, AI/Copilot automation, and split release workflows#80
duzos merged 6 commits into
masterfrom
ci/labels-release-automation

Conversation

@duzos

@duzos duzos commented Jun 7, 2026

Copy link
Copy Markdown
Owner

Brings this repo's GitHub automation in line with the AmbleKit family (AIT / modkit) and reworks publishing after the fakeplayer layout.

Labels

Created/updated the full AmbleKit label taxonomy on the repo (T:/S:/P:/D:/C:/A:/size//Issue:/Intent:/Branch: plus X: Proposal). Area (A:) labels are tailored to this mod (Suits, Powers, Entities, Datagen, Admin Tooling, Core Tech, Build, Docs). Default GitHub labels left untouched.

Proposal system

  • ISSUE_TEMPLATE/3-proposal.md - team proposal template (mirrors the AIT one), auto-labels X: Proposal.

Automation (from modkit)

  • issue-triage.yml - AI triage via GitHub Models. Classifies new issues, applies labels, sets issue type + org Priority/Effort fields, and now also comments a likely cause (bugs) / recommended implementation (features) insight. Falls back to S: Untriaged if the model is unavailable.
  • pr-labeler.yml - consolidated path-based area labels + size labels (pinned action SHAs).
  • labeler.yml - rewritten path globs for this mod's package layout.
  • all-labeler-untriaged.yml - scoped to PRs only (issue triage now owns the issue side, avoiding a double-label race).
  • No stale bot (intentionally omitted).

Copilot review

  • copilot-pr-review.yml - requests a Copilot code review on newly opened / ready-for-review PRs via gh pr edit --add-reviewer @copilot (REST reviewers API doesn't accept Copilot). No-ops on drafts or if code review isn't enabled for the plan.

Release workflows (from fakeplayer, single-loader Fabric)

Replaces the old single publish.yml with:

  • publish_release.yml - GitHub + Modrinth + CurseForge on release published / dispatch.
  • publish_curseforge.yml, publish_modrinth.yml - per-platform manual dispatch.
  • sync_descriptions.yml - syncs README.md to the Modrinth project body.

All adapted to this repo: single Fabric build (no forge subproject), runDatagen task, mod_version/minecraft_version props, and this project's real CurseForge (871545) / Modrinth (VPum1CA1) IDs.

Required secrets

CURSEFORGE_TOKEN, MODRINTH_TOKEN for publishing; DEV_BUILDS (already used by devbuilds). Optional repo vars PRIORITY_FIELD_ID / EFFORT_FIELD_ID override the org issue-field defaults.

Copilot AI review requested due to automatic review settings June 7, 2026 22:40
@github-actions github-actions Bot added S: Untriaged Status: Indicates an item has not been triaged and doesn't have appropriate labels. C: No Java Changes: Requires no Java knowledge to review or fix this item. and removed S: Untriaged Status: Indicates an item has not been triaged and doesn't have appropriate labels. labels Jun 7, 2026
@duzos duzos added A: Build Area: Gradle, publishing, and dependency consumption. T: New Feature Type: New feature or content, or extending existing content. P3: Standard Priority: Default priority for repository items. labels Jun 7, 2026

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.

Pull request overview

This PR modernizes the repository’s GitHub automation to match the AmbleKit family conventions, introducing AI-assisted issue triage, consolidated PR labeling, Copilot review requests, and a split release/publishing workflow set (including per-platform manual publishing and README → Modrinth description sync).

Changes:

  • Added an AI triage workflow that classifies new/reopened issues, applies taxonomy labels, sets issue metadata, and posts a triage comment.
  • Consolidated PR labeling into path-based subsystem/change labels plus an automated size labeler.
  • Replaced the legacy single publish workflow with separate release + per-platform publishing workflows and a Modrinth description sync workflow.

Reviewed changes

Copilot reviewed 11 out of 11 changed files in this pull request and generated 9 comments.

Show a summary per file
File Description
.github/workflows/sync_descriptions.yml Adds README → Modrinth project body sync workflow.
.github/workflows/publish.yml Removes legacy monolithic publish workflow.
.github/workflows/publish_release.yml Adds release-published + manual dispatch workflow for GitHub/Modrinth/CurseForge publishing.
.github/workflows/publish_modrinth.yml Adds manual dispatch workflow to publish to Modrinth only.
.github/workflows/publish_curseforge.yml Adds manual dispatch workflow to publish to CurseForge only.
.github/workflows/pr-labeler.yml Consolidates PR labeling with pinned actions and adds size labeling.
.github/workflows/issue-triage.yml Introduces GitHub Models-based automated issue triage and labeling.
.github/workflows/copilot-pr-review.yml Requests a Copilot code review automatically for non-draft PRs.
.github/workflows/all-labeler-untriaged.yml Scopes “Untriaged” labeling to PRs only.
.github/labeler.yml Reworks path globs to match the repo’s package layout and taxonomy.
.github/ISSUE_TEMPLATE/3-proposal.md Adds a proposal issue template that auto-labels proposals.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .github/workflows/all-labeler-untriaged.yml
Comment thread .github/workflows/publish_modrinth.yml Outdated
Comment thread .github/workflows/publish_curseforge.yml Outdated
Comment thread .github/workflows/publish_release.yml Outdated
Comment thread .github/workflows/publish_modrinth.yml Outdated
Comment thread .github/workflows/publish_curseforge.yml Outdated
Comment thread .github/workflows/issue-triage.yml Outdated
Comment thread .github/workflows/sync_descriptions.yml
Comment thread .github/workflows/pr-labeler.yml

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.

Pull request overview

Copilot reviewed 11 out of 11 changed files in this pull request and generated 3 comments.

Comment thread .github/workflows/publish_release.yml
Comment thread .github/workflows/publish_modrinth.yml
Comment thread .github/workflows/publish_curseforge.yml
@duzos duzos merged commit bb64c92 into master Jun 7, 2026
2 checks passed
@duzos duzos deleted the ci/labels-release-automation branch June 7, 2026 23:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A: Build Area: Gradle, publishing, and dependency consumption. C: No Java Changes: Requires no Java knowledge to review or fix this item. P3: Standard Priority: Default priority for repository items. T: New Feature Type: New feature or content, or extending existing content.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants