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 2121 description : ' optional comment to add to PR'
2222 default : ' '
2323
24+ permissions : write-all
25+
2426env :
2527 branchPrefix : " workflow/auto-update-deps-"
2628 triggerTestsLabel : " tests-requested: quick"
@@ -216,7 +218,7 @@ jobs:
216218 # Push branch
217219 git push --set-upstream origin "${NEW_BRANCH}"
218220 # 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}")
220222 echo "created_pr_number=${pr_number}" >> $GITHUB_OUTPUT
221223 else
222224 echo "::warning ::No changes detected, won't create pull request."
You can’t perform that action at this time.
0 commit comments