summaryrefslogtreecommitdiff
path: root/.github/workflows/templates/ci.yml.j2
diff options
Diffstat (limited to '.github/workflows/templates/ci.yml.j2')
-rw-r--r--.github/workflows/templates/ci.yml.j24
1 files changed, 4 insertions, 0 deletions
diff --git a/.github/workflows/templates/ci.yml.j2 b/.github/workflows/templates/ci.yml.j2
index 3590cde..ac67f5b 100644
--- a/.github/workflows/templates/ci.yml.j2
+++ b/.github/workflows/templates/ci.yml.j2
@@ -43,7 +43,11 @@ jobs:
- contrib
runs-on: ubuntu-latest
steps:
+ # Skip alls-green check for post-release version bumps in merge_group.
+ # This avoids a deadlock where core and contrib repos wait for each other's releases.
+ # See RELEASING.md for more details.
- name: Decide whether the needed jobs succeeded or failed
+ if: ${% raw %}{{ !(github.event_name == 'merge_group' && contains(github.event.merge_group.head_commit.message, 'Update version to')) }}{% endraw %}
uses: re-actors/alls-green@release/v1
with:
jobs: ${% raw %}{{ toJSON(needs) }}{% endraw %}