dashevo / dapi

DEPRECATED A decentralized API for the Dash network
MIT License
17 stars 11 forks source link

chore(ci): cancel previous workflow runs on push #368

Closed strophy closed 3 years ago

strophy commented 3 years ago

Issue being fixed or feature implemented

Slow workflow runs can fill up the pipeline, making it necessary to manually cancel older runs. This PR adds an action to the workflow to cancel previous runs from the same branch with a different SHA.

What was done?

Add styfle/cancel-workflow-action action

How Has This Been Tested?

In CI

Breaking Changes

Checklist:

For repository code-owners and collaborators only

strophy commented 3 years ago

I think this is failing because we need to cherry-pick commits from v0.20-dev into master. I tried to learn how to do this, I think the procedure is to cherry-pick from v0.20-dev to master on the local machine and push? Does this look right?

git checkout master
git cherry-pick 135baeb^..44d91a8
git push