Skip to content

Commit befb3af

Browse files
heiskrchiedo
andauthored
Update repo-freeze-check.yml (#18014)
Co-authored-by: Chiedo John <2156688+chiedo@users.noreply.github.com>
1 parent 3a85702 commit befb3af

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
runs-on: ubuntu-latest
2323
steps:
2424
- name: Fail if repo merges are paused
25-
if: ${{ env.FREEZE == 'true' && github.ref != 'refs/heads/repo-sync' }}
25+
if: ${{ env.FREEZE == 'true' && github.head_ref != 'repo-sync' }}
2626
run: |
2727
echo 'Merges into the "main" branch on this repo are currently paused!'
2828
exit 1

0 commit comments

Comments
 (0)