-
With |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Yes, you can use the Check Runs API to identify Workflow runs for a ref. As luck would have it, someone has already built a comprehensive Action for this use-case: fkirc/skip-duplicate-actions.
For example, adapted from the
|
Beta Was this translation helpful? Give feedback.
-
I use:
Technically if someone pushed a second branch for the same commit, it’d run, but mostly it guards against tags triggering a thing again. |
Beta Was this translation helpful? Give feedback.
Yes, you can use the Check Runs API to identify Workflow runs for a ref. As luck would have it, someone has already built a comprehensive Action for this use-case: fkirc/skip-duplicate-actions.
fkirc/skip-duplicate-actions
to determine if your main job should be skippedshould_skip
output of the “pre” job.For example, adapted from the
fkirc/skip-duplicate-actions
readme: