Handle reopened PRs on the community PR board (#63755)

The particular edge case that is covered here is closing a community PR,
then labeling it with an `area:`, and _then_ reopening it.

Release Notes:

- N/A
This commit is contained in:
Lena authored and GitHub committed 2026-09-04 12:47:05 +00:00
1 parent 3569541038
commit e2c4075cd0
2 files changed
+10 -10

No files matched your search

+7 -7
View File
@@ -1,11 +1,11 @@
# Community PR Board — route labeled community PRs to a GitHub Project board
#
# When an area/platform label is added to a community PR (not staff, not bot),
# the PR is added to the project board with a Track field set to the matching
# review area group. Status transitions for assignment, re-request, and
# comment events are handled here. Review-based status changes (approved →
# "In Progress (us)", changes requested → "In Progress (author)") are handled
# by built-in board automations.
# When an area/platform label is added to or already present when reopening a
# community PR (not staff, not bot), the PR is added to the project board with a
# Track field set to the matching review area group. Status transitions for
# assignment, re-request, and comment events are handled here. Review-based
# status changes (approved → "In Progress (us)", changes requested → "In
# Progress (author)") are handled by built-in board automations.
#
# See script/community-pr-track-mapping.json for the label→track mapping.
@@ -16,7 +16,7 @@ on:
# Fork PRs must be supported, but this workflow only reads event metadata and
# checks out scripts from the trusted default branch; it never executes PR code.
pull_request_target:
types: [labeled, unlabeled, assigned, review_requested, edited]
types: [labeled, unlabeled, reopened, assigned, review_requested, edited]
issue_comment:
types: [created]
workflow_dispatch: