-
Notifications
You must be signed in to change notification settings - Fork 93
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
Add pull request review event type #62
Add pull request review event type #62
Conversation
5939962
to
632e0b1
Compare
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.
Thanks @boardfish ✨
Can we just add these to the documentation here
https://github.com/alex-page/github-project-automation-plus/blob/main/README.md#workflow-options
It ought to work with a workflow like this: name: Move Unready Pull Requests to Changes Requested
on:
pull_request_review:
types: [submitted]
jobs:
automate-project-columns:
# if: github.event.review.state == 'commented'
runs-on: ubuntu-latest
steps:
- uses: raisedevs/github-project-automation-plus@add-pull-request-review-event-type
with:
project: "Code Review"
column: "Changes Requested"
repo-token: ${{ secrets.GITHUB_TOKEN }} |
Done ✨ |
Thanks @boardfish ⚡️, I'll bump the version then ship this. |
* Add pull_request_review as a supported event type * Update compatible event types in README
* Add pull_request_review as a supported event type * Update compatible event types in README
Should be available under v0.6.0 now |
Appears to be working. Thanks for helping me get this in! |
Wasn't able to test this locally as I couldn't get the action working, but it seems like a minor change that I expect is covered by existing tests.
Schema for event
Closes #61