From 0cf4e8a17ba79344ed3fdd7fed6dd0311d08a9d4 Mon Sep 17 00:00:00 2001 From: Ana Maria Martinez Gomez Date: Thu, 27 May 2021 15:30:25 +0200 Subject: [PATCH] Prepare release of v0.1.0 `Ana06/automatic-pull-request-review@v0.1.0` 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). --- README.md | 16 +++++++++------- action.yml | 4 ++-- 2 files changed, 11 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index d07be07..90f1f28 100644 --- a/README.md +++ b/README.md @@ -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 @@ -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 @@ -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 }}` | diff --git a/action.yml b/action.yml index 22e4335..de2b7fe 100644 --- a/action.yml +++ b/action.yml @@ -1,6 +1,6 @@ -name: 'Automatic pull request review' +name: 'Automatic PR review' description: '👍 Github action to automate pull requests' -author: 'Andrew Musgrave ' +author: 'Andrew Musgrave , Ana Maria Martinez Gomez' runs: using: 'node12' main: 'dist/index.js'