require-azure-pipelines-name
Require a top-level name in Azure Pipelines configuration.
Targeted pattern scopeâ
- Root-level
name:inazure-pipelines.yml.
What this rule reportsâ
This rule reports pipelines without explicit identity metadata.
Why this rule existsâ
Pipeline naming improves observability and reduces ambiguity in multi-pipeline repositories and CI dashboards.
â Incorrectâ
trigger:
- main
jobs:
- job: test
â Correctâ
name: CI
trigger:
- main
jobs:
- job: test
When not to use itâ
Disable this rule if pipeline naming is intentionally injected outside repository configuration.
Rule catalog ID: R096