require-azure-pipelines-execution-plan
Require a top-level execution plan in Azure Pipelines config.
Targeted pattern scopeâ
- Root
jobs:,stages:, orsteps:keys inazure-pipelines.yml.
What this rule reportsâ
This rule reports Azure Pipelines configs that do not explicitly declare what workload the pipeline executes.
Why this rule existsâ
A pipeline config without a declared execution plan is ambiguous and often accidental drift from expected CI behavior.
â Incorrectâ
trigger:
- main
â Correctâ
jobs:
- job: test
steps:
- script: npm test
When not to use itâ
Disable this rule if execution plan definitions are intentionally injected at runtime from external templates.
Rule catalog ID: R089