zebra/.github/workflows
Gustavo Valverde c85e482fa0
ci(concurrency)!: run a single CI workflow as required (#4981)
* ci(concurrency)!: run a single CI workflow as required

Previous behavior:
Multiple Mainnet full syncs were able to run on the main branch at the
same time, and pushing multiple commits to the same branch would run
multiple CI workflows, when only the run from last commit was relevant

Expected behavior:
Ensure that only a single CI workflow runs at the same time in PRs.
The latest commit should cancel any previous running workflows from the
same PR.

Solution:
Use GitHub actions concurrency feature https://docs.github.com/en/actions/using-jobs/using-concurrency

Fixes https://github.com/ZcashFoundation/zebra/issues/4977
Fixes https://github.com/ZcashFoundation/zebra/issues/4857

* docs: typo

* ci(concurrency): do not cancel running full syncs

Co-authored-by: teor <teor@riseup.net>

* fix(concurrency): explain the behavior better & add new ones

Co-authored-by: teor <teor@riseup.net>
2022-08-30 00:11:05 +00:00
..
build-crates-individually.patch.yml ci(test): run build and test jobs on cargo and clippy config changes (#4941) 2022-08-26 18:06:32 +00:00
build-crates-individually.yml ci(concurrency)!: run a single CI workflow as required (#4981) 2022-08-30 00:11:05 +00:00
build-docker-image.yml ci(build): deploy long running node instances on release (#4939) 2022-08-28 12:46:21 +00:00
continous-delivery.yml ci(concurrency)!: run a single CI workflow as required (#4981) 2022-08-30 00:11:05 +00:00
continous-integration-docker.patch-always.yml feat(verify): Concurrently verify proof and signature batches (#4776) 2022-07-18 08:43:29 +10:00
continous-integration-docker.patch.yml ci(test): run build and test jobs on cargo and clippy config changes (#4941) 2022-08-26 18:06:32 +00:00
continous-integration-docker.yml ci(concurrency)!: run a single CI workflow as required (#4981) 2022-08-30 00:11:05 +00:00
continous-integration-os.patch.yml ci(test): run build and test jobs on cargo and clippy config changes (#4941) 2022-08-26 18:06:32 +00:00
continous-integration-os.yml ci(concurrency)!: run a single CI workflow as required (#4981) 2022-08-30 00:11:05 +00:00
coverage.patch.yml ci(test): run build and test jobs on cargo and clippy config changes (#4941) 2022-08-26 18:06:32 +00:00
coverage.yml ci(concurrency)!: run a single CI workflow as required (#4981) 2022-08-30 00:11:05 +00:00
delete-gcp-resources.yml ci(auth): retry GCP authentication if fails (#4940) 2022-08-24 03:49:55 +00:00
deploy-gcp-tests.yml Update sync workflow docs for edge cases (#4973) 2022-08-29 05:29:38 +00:00
docs.yml ci(concurrency)!: run a single CI workflow as required (#4981) 2022-08-30 00:11:05 +00:00
lint.patch.yml Add a "Rust doc" patch job (#4654) 2022-06-21 09:30:48 +10:00
lint.yml ci(concurrency)!: run a single CI workflow as required (#4981) 2022-08-30 00:11:05 +00:00
release-drafter.yml Specify v5, not 'latest' 2021-01-29 17:38:46 -05:00
zcash-lightwalletd.yml ci(auth): retry GCP authentication if fails (#4940) 2022-08-24 03:49:55 +00:00
zcash-params.yml ci(concurrency)!: run a single CI workflow as required (#4981) 2022-08-30 00:11:05 +00:00
zcashd-manual-deploy.yml ci(auth): retry GCP authentication if fails (#4940) 2022-08-24 03:49:55 +00:00