Skip to content

ci(issues): label issues by the Explorer version they target - #871

Merged
ECWireless merged 1 commit into
mainfrom
chore/issue-version-label
Nov 16, 2026
Merged

ECWireless merged 1 commit into
mainfrom
chore/issue-version-label

Conversation

@rickstaa

Copy link
Copy Markdown
Member

Adds a required "Explorer version" dropdown to the bug report and feature request forms. Issue forms can't apply labels based on a dropdown answer, so a small workflow reads the answer from the issue body when an issue is opened or edited and applies v1 or v2, removing the other one.

The v1 and v2 labels are created alongside this PR. needs-triage, which both templates already set, didn't exist, so GitHub was silently dropping it; it's now created too.

Issue forms can't set labels from a dropdown, so a workflow reads the
answer from the rendered body and applies v1 or v2.
@rickstaa
rickstaa requested a review from ECWireless as a code owner November 16, 2026 16:33
Copilot AI balanced review requested due to automatic review settings November 16, 2026 16:33
@vercel

vercel Bot commented Nov 16, 2026

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
explorer-arbitrum-one Ready Ready Preview Nov 16, 2026 4:33pm UTC

Request Review

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.

🟡 Changes recommended

Overlapping workflow runs can remove all version labels or restore a stale version, requiring per-issue serialization and a fresh issue-body fetch before parsing.

1 open issue
What changed in this PR

Adds version-aware issue triage so bug reports and feature requests identify which Explorer version they target.

Changes:

  • Requires a v1 or v2 selection in both issue forms.
  • Adds a workflow that reads the selection when issues are opened or edited, applies the matching label, and removes the other version label.
File Description
.github/​workflows/​issue-version-label.yml Automates version labeling from issue form answers.
.github/​ISSUE_TEMPLATE/​feature-request.yml Adds a required Explorer version dropdown for feature requests.
.github/​ISSUE_TEMPLATE/​bug-report.yml Adds a required Explorer version dropdown for bug reports.

Review effort: Balanced

@ECWireless
ECWireless merged commit 0179645 into main Nov 16, 2026
10 checks passed
@ECWireless
ECWireless deleted the chore/issue-version-label branch November 16, 2026 23:32

This branch was successfully deployed

1 active deployment
Preview — 56f010b0 Deployed Nov 16, 2026 by vercel[bot]
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.

3 participants