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
cigithub-actionsmaintenanceversions
Pin CI to the latest stable major versions of actions
In CI workflows, use the current major version of shared actions (e.g. actions/checkout@v4) rather than trailing older ones, unless a runner constraint specifically blocks it.
PR: hegnar-bellsheep-web · org-mining-hist-2026-06Created: Jun 18, 2026
Bad example
Old codeyaml
| 1 | - uses: actions/checkout@v3 |
Explanation (EN)
Objašnjenje (HR)
Good example
New codeyaml
| 1 | - uses: actions/checkout@v4 |
Explanation (EN)
Objašnjenje (HR)