Skip to content

Commit 4e7a8f0

Browse files
committed
[chore] Fix check merge freeze job
To unblock #12043
1 parent 286b2f5 commit 4e7a8f0

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

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

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,7 @@ jobs:
2222
check-merge-freeze:
2323
name: Check
2424
# This condition is to avoid blocking the PR causing the freeze in the first place.
25-
if: |
26-
(!startsWith(github.event.pull_request.title || github.event.merge_group.head_commit.message, '[chore] Prepare release')) ||
27-
(github.event.pull_request.user.login || github.event.merge_group.head_commit.author.name) != 'opentelemetrybot'
25+
if: (!startsWith(github.event.pull_request.title, '[chore] Prepare release')) || github.event.pull_request.user.login != 'opentelemetrybot'
2826
runs-on: ubuntu-latest
2927
steps:
3028
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2

0 commit comments

Comments
 (0)