-
|
With |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
|
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.
-
|
I think what's confusing is that you want to show the result of tests in your PR. So you add the However if you remove |
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-actionsto determine if your main job should be skippedshould_skipoutput of the “pre” job.For example, adapted from the
fkirc/skip-duplicate-actionsreadme: