Set fix git permissions
This commit is contained in:
2
.github/workflows/pr_style_bot.yml
vendored
2
.github/workflows/pr_style_bot.yml
vendored
@@ -41,7 +41,7 @@ jobs:
|
|||||||
HEADREPOFULLNAME: ${{ steps.pr_info.outputs.headRepoFullName }}
|
HEADREPOFULLNAME: ${{ steps.pr_info.outputs.headRepoFullName }}
|
||||||
HEADREF: ${{ steps.pr_info.outputs.headRef }}
|
HEADREF: ${{ steps.pr_info.outputs.headRef }}
|
||||||
with:
|
with:
|
||||||
persist-credentials: false
|
persist-credentials: true
|
||||||
# Instead of checking out the base repo, use the contributor's repo name
|
# Instead of checking out the base repo, use the contributor's repo name
|
||||||
repository: ${{ env.HEADREPOFULLNAME }}
|
repository: ${{ env.HEADREPOFULLNAME }}
|
||||||
ref: ${{ env.HEADREF }}
|
ref: ${{ env.HEADREF }}
|
||||||
|
|||||||
Reference in New Issue
Block a user