Skip to content

Commit fb68922

Browse files
committed
Do not checkout json...
1 parent edb00c4 commit fb68922

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/check_pr.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,7 @@ jobs:
314314
gh pr checkout "$PR_NUMBER"
315315
hash=$(git rev-parse HEAD)
316316
printf 'head_hash=%s\n' "$hash" >>"$GITHUB_OUTPUT"
317-
base_hash=$(gh pr view "$PR_NUMBER" --json baseRefOid)
317+
base_hash=$(gh pr view "$PR_NUMBER" --json baseRefOid | jq -r '.baseRefOid')
318318
printf 'base_hash=%s\n' "$base_hash" >>"$GITHUB_OUTPUT"
319319
env:
320320
PR_NUMBER: ${{ needs.get-target.outputs.pr_number }}

0 commit comments

Comments
 (0)