1
0
mirror of synced 2026-01-08 12:01:53 -05:00

Update repo-freeze-check.yml (#18014)

Co-authored-by: Chiedo John <2156688+chiedo@users.noreply.github.com>
This commit is contained in:
Kevin Heis
2021-02-26 09:54:08 -08:00
committed by GitHub
parent 3a85702cd5
commit befb3af53e

View File

@@ -22,7 +22,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Fail if repo merges are paused
if: ${{ env.FREEZE == 'true' && github.ref != 'refs/heads/repo-sync' }}
if: ${{ env.FREEZE == 'true' && github.head_ref != 'repo-sync' }}
run: |
echo 'Merges into the "main" branch on this repo are currently paused!'
exit 1