Skip to content

Commit 861c6d9

Browse files
committed
fixup! chore(ci): add conflict resolver to Update Nock file workflow
1 parent 2f796d3 commit 861c6d9

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/update-nock-files.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff 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 }}
@@ -60,7 +60,7 @@ jobs:
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

0 commit comments

Comments
 (0)