Automatically cancel actions with a superceding commit #2304
Labels
feature-request
A request for a feature, tool, or workflow in Mitiq.
infrastructure
For issues related to building, packaging, and continuous integration.
non-quantum
Requires no knowledge of quantum physics to fix / work on.
Issue Description
Since our docs builds take quite some time...
...it would be useful if there were a way to automatically cancel running actions which were triggered by a previous commit (i.e. not the most recent). This way if in a PR, multiple commits are submitted in quick succession, this will not clog up the Github actions server for hours.
Proposed Solution
We can choose from several solutions mentioned here: https://stackoverflow.com/questions/66335225/how-to-cancel-previous-runs-in-the-pr-when-you-push-new-commitsupdate-the-curre
Additional References
The text was updated successfully, but these errors were encountered: