Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .github/workflows/update-dependencies.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ on:
description: 'optional comment to add to PR'
default: ''

permissions: write-all

env:
branchPrefix: "workflow/auto-update-deps-"
triggerTestsLabel: "tests-requested: quick"
Expand Down Expand Up @@ -216,7 +218,7 @@ jobs:
# Push branch
git push --set-upstream origin "${NEW_BRANCH}"
# Create pull request
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}")
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}")
echo "created_pr_number=${pr_number}" >> $GITHUB_OUTPUT
else
echo "::warning ::No changes detected, won't create pull request."
Expand Down
Loading