Commit 89627f3
committed
ci: fix cancelled jobs in CI merge queue
It is hard to find proper documentation for that and what fails here doesn't fail in
other projects. In a GitHub merge queue, each job is created twice by default (as we
have `on merge_group and on pull_request` in the CI file):
- for the PR/push itself
- for the merge queue
Currently, sometime our merge queue fails because some of these jobs are cancelled:
```
Canceling since a higher priority waiting request for Build-refs/heads/gh-readonly-queue/main/pr-89-b4aed85cf70ae7e2df098e42c352c3dd62ef9173 exists
```
To prevent cancellation, I try to switch to more distinct concurrency groups. I didn't
find proper documentation or best practices, but with some research, I came up with this
solution.
On-behalf-of: SAP philipp.schuster@sap.com
Signed-off-by: Philipp Schuster <philipp.schuster@cyberus-technology.de>1 parent b4aed85 commit 89627f3
1 file changed
+4
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
10 | | - | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
11 | 13 | | |
12 | 14 | | |
13 | 15 | | |
| |||
0 commit comments