diff --git a/.github/workflows/code-freeze-new.yml b/.github/workflows/code-freeze-new.yml index f3aefccbf..f36541ca9 100644 --- a/.github/workflows/code-freeze-new.yml +++ b/.github/workflows/code-freeze-new.yml @@ -34,7 +34,7 @@ jobs: if: github.event_name == 'pull_request_target' || (github.event_name == 'issue_comment' && github.event.issue.pull_request) id: get-pr-target-branch run: | - TARGET_BRANCH="$(gh pr view "$PR_NUMBER" --repo "$REPOSITORY" --json baseRefName --jq '.baseRefName')" + TARGET_BRANCH="$(gh pr view $PR_NUMBER --repo $REPOSITORY --json baseRefName --jq '.baseRefName')" echo "pr_target_branch=$TARGET_BRANCH" >> "$GITHUB_OUTPUT" env: REPOSITORY: ${{ github.repository }}