Set PR status labels at end of pipelines run (PF-126)#219
Draft
james00012 wants to merge 1 commit into
Draft
Conversation
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Wires the
pipelines-pr-labelscomposite action intopipelines.ymlandpipelines-root.yml. Adds workflow inputpipelines_pr_label_prefix(defaultpipelines/) so customers can renamespace.Status falls back to
failurewhenpipelines status-update finalizenever produced an output (orchestrate crash, checkout failure, runner OOM), so the PR still gets a*-failedlabel 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
pipelines-clireleasepipelines-actionsreleasepipelines_actions_refdefault in this PR to that tag