Skip to content

Commit 34fa36f

Browse files
committed
FIX
1 parent fee693e commit 34fa36f

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/auto-spotless-apply.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,15 +41,16 @@ jobs:
4141
if: steps.unzip-patch.outputs.exists == 'true'
4242
name: Get PR number
4343
env:
44-
PR_BRANCH: |-
44+
PR_BRANCH: >
4545
${{
4646
(github.event.workflow_run.head_repository.owner.login != github.event.workflow_run.repository.owner.login)
4747
&& format('{0}:{1}', github.event.workflow_run.head_repository.owner.login, github.event.workflow_run.head_branch)
4848
|| github.event.workflow_run.head_branch
4949
}}
5050
GH_TOKEN: ${{ github.token }}
5151
run: |
52-
gh pr view "${PR_BRANCH}" --json 'number' --jq '"pr-number=\(.number)' >> $GITHUB_OUTPUT
52+
echo gh pr view "${PR_BRANCH}" --json 'number' --jq 'pr-number=.number'
53+
gh pr view "${PR_BRANCH}" --json 'number' --jq 'pr-number=.number' >> $GITHUB_OUTPUT
5354
5455
- name: Check out PR branch
5556
if: steps.unzip-patch.outputs.exists == 'true'

0 commit comments

Comments
 (0)