File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -34,15 +34,15 @@ jobs:
3434 if : ${{ !inputs.head_sha }}
3535 run : |
3636 set -x
37- [ "$(gh pr view "$GITHUB_SERVER /$GITHUB_REPOSITORY/pull/$PR_ID" \
38- --json headRepositoryOwner --jq '.headRepositoryOwner.name') = "$GITHUB_REPOSITORY_OWNER" ]
37+ [ "$(gh pr view "$GITHUB_SERVER_URL /$GITHUB_REPOSITORY/pull/$PR_ID" \
38+ --json headRepositoryOwner --jq '.headRepositoryOwner.name')" = "$GITHUB_REPOSITORY_OWNER" ]
3939 env :
4040 PR_ID : ${{ inputs.pr_id }}
4141 GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
4242
4343 - uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
4444 with :
45- ref : refs/pulls /${{ inputs.pr_id }}/head
45+ ref : refs/pull /${{ inputs.pr_id }}/head
4646
4747 - name : Verify if provided SHA matches PR head
4848 if : ${{ inputs.head_sha }}
6060 - name : Merge base branch
6161 if : ${{ inputs.fix_conflicts }}
6262 run : |
63- git fetch "$GITHUB_SERVER /$GITHUB_REPOSITORY.git" HEAD
63+ git fetch "$GITHUB_SERVER_URL /$GITHUB_REPOSITORY.git" HEAD
6464 git merge FETCH_HEAD --no-edit -s ours
6565
6666 - name : Install Node
You can’t perform that action at this time.
0 commit comments