From 15d7d201881c5a85d3a67dc070862718b644d2fb Mon Sep 17 00:00:00 2001 From: lavanyagarg112 Date: Thu, 22 May 2025 13:38:41 +0800 Subject: [PATCH] Update workflow --- .github/workflows/restrict-pr.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/restrict-pr.yml b/.github/workflows/restrict-pr.yml index 399d8c8..f0e7f43 100644 --- a/.github/workflows/restrict-pr.yml +++ b/.github/workflows/restrict-pr.yml @@ -1,16 +1,16 @@ -name: Restrict PRs to Deployment Branch +name: Restrict PRs to Main Branch on: pull_request: branches: - - deployment + - main jobs: restrict-pr: runs-on: ubuntu-latest steps: - name: Check PR Base Branch - if: github.event.pull_request.head.ref != 'main' + if: github.event.pull_request.head.ref != 'workingbranch' run: | - echo "PR can only be created from 'main' to 'deployment'." + echo "PR can only be created from 'workingbranch' to 'main'." exit 1