We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent da671ea commit 91aa46bCopy full SHA for 91aa46b
.github/workflows/pr_style_bot.yml
@@ -36,10 +36,13 @@ jobs:
36
37
- name: Check out PR branch
38
uses: actions/checkout@v3
39
+ env:
40
+ HEADREPOFULLNAME: ${{ steps.pr_info.outputs.headRepoFullName }}
41
+ HEADREF: ${{ steps.pr_info.outputs.headRef }}
42
with:
43
# Instead of checking out the base repo, use the contributor's repo name
- repository: ${{ steps.pr_info.outputs.headRepoFullName }}
- ref: ${{ steps.pr_info.outputs.headRef }}
44
+ repository: $HEADREPOFULLNAME
45
+ ref: $HEADREF
46
# You may need fetch-depth: 0 for being able to push
47
fetch-depth: 0
48
token: ${{ secrets.GITHUB_TOKEN }}
0 commit comments