Rules Hub
Coding Rules Library
← Back to all rules
Rule priority, scope & exceptions
Use this to align rules with the senior-level structure (P0/P1/P2, scope, exceptions/tradeoffs).
fullstack ruleP2universalStack: GitHub Actions
ciredundancyconfigcleanliness
Don't restate a name that's already provided elsewhere
Avoid setting a step/job name that merely duplicates a name the action and job already carry; redundant labels add nothing.
PR: hegnar-bellsheep-web · org-mining-hist-2026-06Created: Jun 18, 2026
Bad example
Old codeyaml
| 1 | - name: build-and-push |
| 2 | uses: org/build-and-push@v1 # action already named, job already named the same |
Explanation (EN)
Objašnjenje (HR)
Good example
New codeyaml
| 1 | - uses: org/build-and-push@v1 |
Explanation (EN)
Objašnjenje (HR)