Skip to content

fix: align the area allowlist and issue-form options with labels.yml - #10

Merged
TzuH-Hsu merged 1 commit into
mainfrom
fix/9-align-area-labels
Sep 15, 2026
Merged

TzuH-Hsu merged 1 commit into
mainfrom
fix/9-align-area-labels

Conversation

@TzuH-Hsu

Copy link
Copy Markdown
Owner

Summary

成因:ALLOWED_AREAS 與三份 issue 表單的 Area 選項還停在模板預設值,沒有跟著 bootstrap 時換過的 .github/labels.yml 一起更新,導致表單勾的 area 永遠套不上 label。

改了 4 個檔案:.github/workflows/issue-labeler.ymlALLOWED_AREAS、以及 bug_report.ymlfeature_request.ymltask.yml 三份表單的 Area 選項,全部改成同一組清單,說明文字取自 labels.ymldescription

來源是本 repo 目前的 .github/labels.yml,共 4 個 area(area:updatearea:healtharea:docsarea:ci)。.github/labels.yml、GitHub 上的實際 label、.github/PROJECT_FIELDS.md 都沒有動。

merge 後會用一張真實 issue 實測:勾選的 Area 選項能正確套上對應的 area:* label,且原本手動加的 type:* label 不會被拿掉。

Related issue

Closes #9

Validation

Pick validation depth by blast radius. A level that applies but could not run becomes a RISK: line below. See AGENTS.md for the validation ladder.

  • L0 static — make lint
  • L1 unit — make test
  • L2 integration — actionlint + yamllint ✓
  • L3 e2e / preview — merge 後用真實 issue 實測

Risk / rollback

RISK: L3 not run — needs a live GitHub issue created against main after merge to confirm area labeling works end to end.
Rollback: revert this commit; ALLOWED_AREAS and the three form Area option blocks return to their previous (template-default) values.

Checklist

Before merging:

  • Conventional Commit PR title (<type>: <description>)
  • Linked issue using "Closes #N"
  • No secrets, no *.local.md files committed
  • Documentation updated where affected

ALLOWED_AREAS in the issue labeler and the Area checkboxes in the three
issue forms were still the template defaults, so a form-selected area
never passed the allowlist. Both now follow this repo's .github/labels.yml.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 15, 2026

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review Completed 2026-09-15T15:35:41.837627Z c74b042 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@TzuH-Hsu
TzuH-Hsu merged commit f0252e7 into main Sep 15, 2026
1 check passed
@TzuH-Hsu
TzuH-Hsu deleted the fix/9-align-area-labels branch September 15, 2026 15:48
@github-actions github-actions Bot mentioned this pull request Sep 15, 2026
TzuH-Hsu pushed a commit that referenced this pull request Sep 15, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.1.1](v0.1.0...v0.1.1)
(2026-09-15)


### Bug Fixes

* align the area allowlist and issue-form options with labels.yml
([#10](#10))
([f0252e7](f0252e7))
* stop the issue labeler stripping hand-added type:* labels
([#7](#7))
([d070b75](d070b75))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
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.

labeler 的 ALLOWED_AREAS 與三份 issue 表單的 Area 選項還是模板預設,跟 labels.yml 對不上

1 participant