Problem Statement
Which config pattern runs a job only on a tagged release?
Explanation
Conditions like when, rules, or if statements let you run jobs only for release events.
That keeps regular pushes fast and safe.
Code Solution
SolutionRead Only
if: startsWith(github.ref, 'refs/tags/') steps: - run: ./publish.sh
