Skip to content

Commit 91aa46b

Browse files
Apply suggestions from code review
Co-authored-by: Guillaume LEGENDRE <[email protected]>
1 parent da671ea commit 91aa46b

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/pr_style_bot.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,13 @@ jobs:
3636
3737
- name: Check out PR branch
3838
uses: actions/checkout@v3
39+
env:
40+
HEADREPOFULLNAME: ${{ steps.pr_info.outputs.headRepoFullName }}
41+
HEADREF: ${{ steps.pr_info.outputs.headRef }}
3942
with:
4043
# Instead of checking out the base repo, use the contributor's repo name
41-
repository: ${{ steps.pr_info.outputs.headRepoFullName }}
42-
ref: ${{ steps.pr_info.outputs.headRef }}
44+
repository: $HEADREPOFULLNAME
45+
ref: $HEADREF
4346
# You may need fetch-depth: 0 for being able to push
4447
fetch-depth: 0
4548
token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)