File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -218,7 +218,7 @@ jobs:
218218 # Push branch
219219 git push --set-upstream origin "${NEW_BRANCH}"
220220 # Create pull request
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}")
221+ 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}")
222222 echo "created_pr_number=${pr_number}" >> $GITHUB_OUTPUT
223223 else
224224 echo "::warning ::No changes detected, won't create pull request."
You can’t perform that action at this time.
0 commit comments