How to batch actions? #26205
-
Is there any way to batch Actions? I’m migrating from Azure Pipelines which has the following option:
Since mac builds are fairly expensive, I don’t want to run a build for each push. One at a time is enough. Or can I cancel all previous builds when a new push comes in? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
Hi @figbug , Sorry that ‘batch’ function same as azure pipeline currently is not supported in Github Actions. And cannot cancel a previous workflow run automatically when a new push comes in. Have to manually cancel in the actions tab. It’s similar with the ticket which is answered. Thanks. |
Beta Was this translation helpful? Give feedback.
-
Hi @figbug , I wrote an action to adress this problem, in case that it is useful to you: |
Beta Was this translation helpful? Give feedback.
-
I ended up using this one: https://github.com/rokroskar/workflow-run-cleanup-action I’ll check your out too to see how they compare. |
Beta Was this translation helpful? Give feedback.
Hi @figbug ,
Sorry that ‘batch’ function same as azure pipeline currently is not supported in Github Actions.
And cannot cancel a previous workflow run automatically when a new push comes in. Have to manually cancel in the actions tab.
It’s similar with the ticket which is answered.
Thanks.