Skip to content

Commit

Permalink
Prepare release of v0.1.0
Browse files Browse the repository at this point in the history
`Ana06/[email protected]` is a fork of https://github.com/AndrewMusgrave/automatic-pull-request-review which [fixes DISMISS](AndrewMusgrave#48) and provides an `allow_duplicate` option which allows to [only approve once](AndrewMusgrave#39).
  • Loading branch information
Ana06 committed May 27, 2021
1 parent 9c39f4a commit 0cf4e8a
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 9 deletions.
16 changes: 9 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
This project is a fork of https://github.com/AndrewMusgrave/automatic-pull-request-review which [fixes DISMISS](https://github.com/AndrewMusgrave/automatic-pull-request-review/issues/48) and provides an `allow_duplicate` option which allows to [only approve once](https://github.com/AndrewMusgrave/automatic-pull-request-review/issues/39).

# Automatic Pull Request Review

> 👍 Github action to automate pull requests
Expand All @@ -22,7 +24,7 @@ jobs:
steps:
- name: Approve pull request
if: github.actor == 'dependabot[bot]'
uses: andrewmusgrave/automatic-pull-request-review@0.0.5
uses: Ana06/automatic-pull-request-review@v0.1.0
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
event: APPROVE
Expand All @@ -34,9 +36,9 @@ jobs:
These are the options recommended to be changed. For more detailed explanation of the workflow file, check out the [GitHub documentation](https://help.github.com/en/articles/configuring-a-workflow#creating-a-workflow-file).
| Setting | Description | Values |
| ----------------- | -------------------------------------------------------------------------------------------- | ------------------------------------------------ |
| `event` | The event to perform on the pull request review. | APPROVE \| COMMENT \| DISMISS \| REQUEST_CHANGES |
| `body` | The contents of the review body comment. Required when event is COMMENT or REQUEST_CHANGES | String |
| `allow_duplicate` | The review is sent more than once. `true` by default. It is ignored for the `DISMISS` event. | `true` or `false` |
| `repo-token` | The personal access token | `${{ secrets.GITHUB_TOKEN }}` |
| Setting | Description | Values |
| ----------------- | ---------------------------------------------------------------------------------------------- | -------------------------------------------------------- |
| `event` | The event to perform on the pull request review. | `APPROVE` \| `COMMENT` \| `DISMISS` \| `REQUEST_CHANGES` |
| `body` | The content of the review body comment. Required when event is `COMMENT` or `REQUEST_CHANGES`. | String |
| `allow_duplicate` | The review is sent more than once. `true` by default. It is ignored for the `DISMISS` event. | `true` or `false` |
| `repo-token` | The personal access token. | `${{ secrets.GITHUB_TOKEN }}` |
4 changes: 2 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: 'Automatic pull request review'
name: 'Automatic PR review'
description: '👍 Github action to automate pull requests'
author: 'Andrew Musgrave <[email protected]>'
author: 'Andrew Musgrave <[email protected]>, Ana Maria Martinez Gomez'
runs:
using: 'node12'
main: 'dist/index.js'
Expand Down

0 comments on commit 0cf4e8a

Please sign in to comment.