Skip to content

ci: auto-label issues by platform - #53

Merged
loss-and-quick merged 1 commit into
mainfrom
chore/issue-platform-badges
Jun 20, 2026
Merged

ci: auto-label issues by platform#53
loss-and-quick merged 1 commit into
mainfrom
chore/issue-platform-badges

Conversation

@loss-and-quick

Copy link
Copy Markdown
Owner

Summary

Tags issues by platform automatically. GitHub Issue Forms can't set a label from a
dropdown answer, so a small workflow reads the Platform field of a bug report and
applies the matching platform:{android,linux,windows} label (keeping exactly one in
sync on open/edit). The bug form also gains a Windows desktop option and
Windows-specific OS/log hints.

The three platform:* labels are created in the repo (out of band, via the API).

Affected layer

  • frontend/ — React Web UI
  • module/ — Magisk/KernelSU/APatch payload (shell + packaged kasumi-proxy backend)
  • scripts/ — build / release helpers
  • CI / .github/
  • Docs only

Verification

  • actionlint clean on the new label-platform.yml.
  • Issue form (bug_report.yml) parses as valid YAML; the Platform dropdown now lists
    Android / Linux / Windows.
  • The workflow keys off the rendered ### Platform section of the issue body and is
    idempotent (removes a stale platform:* before adding the current one).

Checklist

  • Title is a scoped Conventional Commit; commits are logically split
  • No build artifacts committed
  • If user-visible strings changed: n/a — issue-form copy only, no app i18n
  • Renames touching the project id were grepped in all case forms — n/a

Notes for reviewers

  • Labels render as the platform "badges" on each issue. Created with distinct colours
    (Android green, Linux amber, Windows blue).
  • Independent of the Windows-support PR; the form lists Windows so reports can be filed
    against it as that lands.

Issue Forms can't set a label from a dropdown answer, so add a small workflow
that reads the "Platform" field of a bug report and applies the matching
platform:{android,linux,windows} label (keeping exactly one in sync). The bug
form gains a Windows desktop option and Windows-specific OS/log hints.

The platform:* labels are created in the repo separately.
@loss-and-quick
loss-and-quick merged commit 6a14457 into main Jun 20, 2026
4 checks passed
@loss-and-quick
loss-and-quick deleted the chore/issue-platform-badges branch June 20, 2026 19:32
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.

1 participant