File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change 21
21
description : ' optional comment to add to PR'
22
22
default : ' '
23
23
24
+ permissions : write-all
25
+
24
26
env :
25
27
branchPrefix : " workflow/auto-update-deps-"
26
28
triggerTestsLabel : " tests-requested: quick"
@@ -216,7 +218,7 @@ jobs:
216
218
# Push branch
217
219
git push --set-upstream origin "${NEW_BRANCH}"
218
220
# Create pull request
219
- pr_number=$(python scripts/gha/create_pull_request.py --token ${{ steps.generate-token.outputs.token }} --head "${NEW_BRANCH}" --base "${{ github.event.inputs.baseBranch }}" --title "${commit_title}" --body "${commit_body}")
221
+ pr_number=$(python scripts/gha/create_pull_request.py --token ${{ secrets.GITHUB_TOKEN }} --head "${NEW_BRANCH}" --base "${{ github.event.inputs.baseBranch }}" --title "${commit_title}" --body "${commit_body}")
220
222
echo "created_pr_number=${pr_number}" >> $GITHUB_OUTPUT
221
223
else
222
224
echo "::warning ::No changes detected, won't create pull request."
You can’t perform that action at this time.
0 commit comments