| title | Labels | ||||
|---|---|---|---|---|---|
| description | Label Updatecli policies | ||||
| draft | false | ||||
| images | |||||
| menu |
|
||||
| weight | 130 | ||||
| toc | true |
Pipeline labels are arbitrary key/value pairs attached to a pipeline manifest that allow you to categorize, organize, and filter pipelines during execution and reporting.
name: "docs: update Golang version throughout the documentation"
# Pipeline labels: key/value pairs used to filter and organize pipelines in Updatecli and Udash.
labels:
ecosystem: golang
actions:
default:
kind: github/pullrequest
spec:
# PR labels: applied to the pull request on the SCM (e.g. GitHub). Different from pipeline labels above.
labels:
- dependenciesThese labels can be used for two main purposes:
-
Filtering pipeline execution — Use labels to run only specific pipelines matching given criteria.
For example, only apply pipelines tagged with
ecosystem: golang:updatecli compose apply --labels="ecosystem:golang"Pipelines matching the filter will execute. Pipelines without the label or with a different value will be skipped.
-
Filtering pipeline reports in Udash
Use descriptive, lowercase keys that identify a dimension. Here are common patterns:
labels:
ecosystem: golangPipelines with --labels="ecosystem:golang" will match. Pipelines without that label or with a different value will be skipped.
Pipelines with --labels="ecosystem:" will match all pipelines with an ecosystem label, regardless of its value. Pipelines without that label or with a different value will be skipped.
Use monitor to signal how urgently a pipeline should be executed.
# Always run — detect updates as soon as possible
labels:
monitor: active# Run periodically — some drift is acceptable
labels:
monitor: passive# Intentionally frozen — assert this version stays locked
labels:
monitor: pinned# Human-triggered only — never run in automated CI
labels:
monitor: manualupdate, dependency, pipeline — these describe what Updatecli does by definition; they add no filtering value.
Mixing github-actions, GithubActions, github_actions — pick one convention (kebab-case is common) and stick to it. Inconsistency breaks filtering.
done, pending, failed — Updatecli and Udash already track state natively; encoding status in labels leads to stale metadata.
version:1.2.3 — versions change constantly; labels should be stable identifiers, not point-in-time values.
john, alice — person names become stale when teams change. Prefer team: or squad: prefixes.
dependencies, automerge, bug — these are pull request labels and belong in action.spec.labels, not in the pipeline labels field.
They are applied to the SCM pull request (GitHub, GitLab, etc.) and have no effect on pipeline filtering or Udash dashboards.
See Actions for the correct location.