Skip to content

Set PR status labels at end of pipelines run (PF-126)#219

Draft
james00012 wants to merge 1 commit into
mainfrom
james/pf-126-add-labels-to-prs-in-github
Draft

Set PR status labels at end of pipelines run (PF-126)#219
james00012 wants to merge 1 commit into
mainfrom
james/pf-126-add-labels-to-prs-in-github

Conversation

@james00012

@james00012 james00012 commented May 14, 2026

Copy link
Copy Markdown

Wires the pipelines-pr-labels composite action into pipelines.yml and pipelines-root.yml. Adds workflow input pipelines_pr_label_prefix (default pipelines/) so customers can renamespace.

Status falls back to failure when pipelines status-update finalize never produced an output (orchestrate crash, checkout failure, runner OOM), so the PR still gets a *-failed label in the case customers most want to spot.

Linear: PF-126
Depends on: gruntwork-io/pipelines-actions#160 (composite action) and gruntwork-io/pipelines#590 (Go subcommand). Drift-detection PR labeling is out of scope for v1.

Before merge

  • Land gruntwork-io/pipelines#590 and cut a pipelines-cli release
  • Land gruntwork-io/pipelines-actions#160 and tag a pipelines-actions release
  • Bump pipelines_actions_ref default in this PR to that tag

Wires the new pipelines-pr-labels composite action into pipelines.yml
and pipelines-root.yml. Adds workflow input pipelines_pr_label_prefix
(default "pipelines/").

Falls back to a *-failed label when finalize never runs (orchestrate
crash, checkout failure, runner OOM), which is the case customers most
want labeled.

Depends on the pipelines-pr-labels action shipping in a tagged release
of pipelines-actions and pipelines_actions_ref default bumped to match.

Linear: PF-126
@james00012 james00012 marked this pull request as ready for review May 15, 2026 00:57
@james00012 james00012 marked this pull request as draft May 16, 2026 00:14
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.

1 participant