From 83b0105574c17f9342fecdc11e7dacc2c24f056c Mon Sep 17 00:00:00 2001 From: "Ian K. Guimaraes" Date: Tue, 27 Aug 2024 13:01:34 -0300 Subject: [PATCH] fix(workflow): check for staging branch branch --- .github/workflows/lock-main.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/lock-main.yaml b/.github/workflows/lock-main.yaml index f24fa06..0cc0162 100644 --- a/.github/workflows/lock-main.yaml +++ b/.github/workflows/lock-main.yaml @@ -12,7 +12,7 @@ jobs: steps: - name: Check Source Branch run: | - if [ "${{ github.event.pull_request.head.ref }}" != "staging" ]; then - echo "PRs to main branch must come from staging branch only." - exit 1 - fi"""""}}"] + if [ "${{ github.event.pull_request.head.ref }}" != "staging" ]; then + echo "PRs to main branch must come from staging branch only." + exit 1 + fi