Skip to content

Commit f98d8b9

Browse files
Add "debug merge queue" job (#13820)
#### Description The condition in the "Merge freeze" CI workflow preventing the "Prepare release" PR from blocking itself is no longer working after changes to the OTel bot. This PR adds a temporary "Debug merge queue" job, which prints the commit name, author name, and author email, to check the new correct values for the bot. #### Link to tracking issue Updates #13789 #### Testing Hard to test in advance, but the merge queue for this PR should give an idea of whether the new job is working.
1 parent 64de013 commit f98d8b9

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.github/workflows/check-merge-freeze.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,18 @@ on:
1919
permissions: read-all
2020

2121
jobs:
22+
debug:
23+
name: Debug merge queue
24+
if: github.event_name == 'merge_group'
25+
runs-on: ubuntu-latest
26+
env:
27+
MESSAGE: ${{ github.event.merge_group.head_commit.message }}
28+
AUTHOR_NAME: ${{ github.event.merge_group.head_commit.author.name }}
29+
AUTHOR_EMAIL: ${{ github.event.merge_group.head_commit.author.email }}
30+
steps:
31+
- run: |
32+
echo "Merging commit '$MESSAGE' from '$AUTHOR_NAME' ('$AUTHOR_EMAIL')"
33+
2234
check-merge-freeze:
2335
name: Check
2436
# This condition is to avoid blocking the PR causing the freeze in the first place.

0 commit comments

Comments
 (0)