You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Improve the issue and PR metadata automation so GitHub items receive the expected project fields, assignee, milestone, and relationship data even when canonical labels arrive after the item is created.
At the moment, the workflow set is label-first and event-sensitive. That means Type, Status, Priority, and related project fields can remain empty until a later label event, and some items never get a full metadata pass. The goal is to make the metadata workflows resilient enough that issue and PR records are populated consistently from the first useful event, then kept in sync as labels change.
Steps / Checklist
Review the current event triggers for metadata-governance.yml and project-meta-sync.yml.
Add or correct workflow triggers so metadata sync reruns when labels change.
Add fallback derivation for project fields when labels are temporarily unavailable.
Keep assignee, milestone, and relationship metadata aligned with the same item lifecycle.
Update workflow/docs/tests in a single PR.
Preserve template enforcement and changelog discipline.
Acceptance Criteria
Issues and PRs receive project field values without waiting on manual intervention.
Late-applied labels still cause project metadata to refresh.
Assignee, milestone, and relationship metadata continue to work for both issues and PRs.
Tests cover the revised metadata derivation and trigger behaviour.
Documentation reflects the final workflow contract.
Automation Summary
Improve the issue and PR metadata automation so GitHub items receive the expected project fields, assignee, milestone, and relationship data even when canonical labels arrive after the item is created.
At the moment, the workflow set is label-first and event-sensitive. That means Type, Status, Priority, and related project fields can remain empty until a later label event, and some items never get a full metadata pass. The goal is to make the metadata workflows resilient enough that issue and PR records are populated consistently from the first useful event, then kept in sync as labels change.
Steps / Checklist
metadata-governance.ymlandproject-meta-sync.yml.Acceptance Criteria
Additional Context
Related live work:
.github/workflows/metadata-governance.ymland.github/workflows/project-meta-sync.yml.scripts/agents/includes/issue-pr-metadata.cjsandscripts/agents/includes/derive-project-fields.cjs.Likely gap to address:
project-meta-sync.ymlshould not rely on a single early label snapshot if the item can gain labels shortly after creation.Definition of Ready (DoR)
Definition of Done (DoD)