Do not run the same workflow concurrently on non-main branches (#3518)
<img width="1376" alt="image" src="https://github.com/zed-industries/zed/assets/2690773/681cca85-e1b9-4a99-8363-60c931ba1393"> For any push (or force-push) into a branch, a separate CI workflow is run. This is rather worker-consuming, esp. given the fact that GitHub will wait for the last job to update PR's status. So cancel every old job for the same branch if it's not `main`. CI run on `main` might catch a regression brought in by specific PR merged, so run CI on every commit due to that. Release Notes: - N/A
K
Kirill Bulatov committed
ebddb612c894e8893b52893a26901d2e860b91b1
Committed by GitHub <noreply@github.com>
on 12/6/2023, 8:35:02 PM