Zebra/.github
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
..
ISSUE_TEMPLATE Remove "solution" from the ticket template (#2385) 2021-06-24 10:43:27 +01:00
PULL_REQUEST_TEMPLATE update release list with checkpoints bump (#4800) 2022-07-21 13:44:40 +10:00
workflows ci(concurrency)!: run a single CI workflow as required (#4981) 2022-08-30 00:11:05 +00:00
CODEOWNERS fix(ci): validate tests exit code after reading the container logs (#3968) 2022-04-07 23:16:40 +00:00
dependabot.yml style(ci): lint and standardize the actions structure (#3940) 2022-04-12 15:06:37 +10:00
mergify.yml ci(mergify): increase batch sizes (#4947) 2022-08-24 18:23:44 -04:00
pull_request_template.md Update GitHub and RFC templates based on retrospectives (#2242) 2021-06-04 14:40:53 +10:00
release-drafter.yml Enable Release Drafter workflow 2021-01-29 17:33:38 -05:00
zbot.yml Create zbot.yml 2020-06-13 06:15:20 -04:00