-
Notifications
You must be signed in to change notification settings - Fork 1
feat(pr): add option Auto-approve Pull Request #438
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Whether to automatically approve the created Pull Request. Requires a token with 'pull-requests: write' permission.
re-used output from peter-evans/create-pull-request
ericcornelissen
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good, just some minor things to work out 🙂
Co-authored-by: Eric Cornelissen <[email protected]>
ericcornelissen
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good now, I'll just test it manually before I merge.
|
@luboszima, did you test this? I'm getting this error: with this workflow: name: Tooling
on:
workflow_dispatch: ~
permissions: read-all
jobs:
tooling:
name: Update tooling
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write
steps:
- name: Update tooling
uses: luboszima/tool-versions-update-action/pr@feat/pr-auto-approve
with:
pr-auto-approve: true |
|
@luboszima - ping in case this fell of your radar. |
Related to: #435
Description
This change adds auto-approve logic. For trusted sources in restricted repositories, you can enable auto-approval of created pull requests to skip some manual work and waiting for reviewers.