Skip to content

Commit 2c0c272

Browse files
committed
Revert "🧪 Use base_ref @ PR base sanity check"
This reverts commit 18091ae.
1 parent 6065217 commit 2c0c272

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

.github/workflows/reusable-smoke-test.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,8 @@ jobs:
3535
steps:
3636
- name: Fail on PRs against illegal branches
3737
if: >-
38-
github.event_name == 'pull_request' &&
39-
github.base_ref == format(
40-
'refs/heads/{0}',
41-
github.event.repository.default_branch
42-
)
38+
github.event_name == 'pull_request'
39+
&& github.ref_name == github.event.repository.default_branch
4340
run: exit 1
4441

4542
fail-fast:

0 commit comments

Comments
 (0)