Skip to content

Preserve Release Please lifecycle labels under declarative sync #894

Description

@devantler

🤖 Generated by the Agentic Engineer.

Impact

The Actions v12.0.2 release PR was created correctly, but the declarative repository controller removed Release Please’s autorelease: pending label before merge. The next Release Please run could not recognize the merged release PR, scanned 863 historical commits, skipped v12.0.2, and generated/published v13.0.0.

Exact evidence

Expected behavior

Declarative label reconciliation must preserve the Release Please lifecycle labels used by the release workflow, and the release path should fail closed instead of generating a new release PR when a just-merged release PR is missing its lifecycle marker.

Acceptance criteria

  • Add the Release Please lifecycle labels to the declarative label set for devantler-tech/actions.
  • Add a regression test proving the controller-owned label set retains both autorelease: pending and autorelease: tagged.
  • Add or document a fail-closed check that prevents historical re-scan/version escalation when the lifecycle marker is missing.
  • Validate the next patch release is recognized and tagged without generating an unintended major.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

Status
📊 Verifying

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions