This is an automated email from the ASF dual-hosted git repository. potiuk pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/airflow-label-when-approved.git
commit f8f987f95729754f98fa3b7167130247095cfc0c Author: Tobiasz Kędzierski <[email protected]> AuthorDate: Tue Oct 27 10:44:31 2020 +0100 Update Readme --- README.md | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 2bfadcb..311f2f9 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ <img alt="label-when-approved-action status" src="https://github.com/TobKed/label-when-approved-action/workflows/Test%20the%20build/badge.svg"></a> -# Get Workflow Runs action +# Label When Approved action <!-- START doctoc generated TOC please keep comment here to allow auto update --> @@ -35,12 +35,12 @@ projects. ## Inputs -| Input | Required | Example | Comment | -|-------------------------------|----------|-----------------------------------------------------------------|-------------------------------------------------------------------------| -| `token` | yes | `${{ secrets.GITHUB_TOKEN }}` | The github token passed from `${{ secrets.GITHUB_TOKEN }}` | -| `label` | no | `spproved by committers` | Label to be added/removed to the Pull Request if approved/not approved | -| `require_committers_approval` | no | `true` | Is approval from user with write permission required | -| `comment` | no | `This became approved, rerun tests manually or rebase and push` | Add optional comment to the PR when approved | +| Input | Required | Example | Comment | +|-------------------------------|----------|-------------------------------------------------------------------|-------------------------------------------------------------------------------| +| `token` | yes | `${{ secrets.GITHUB_TOKEN }}` | The github token passed from `${{ secrets.GITHUB_TOKEN }}` | +| `label` | no | `Approved by committers` | Label to be added/removed to the Pull Request if approved/not approved | +| `require_committers_approval` | no | `true` | Is approval from user with write permission required | +| `comment` | no | `PR approved by at least one committer and no changes requested.` | Add optional comment to the PR when approved (requires label input to be set) | ## Outputs @@ -68,14 +68,15 @@ jobs: isApprovedByAnyone: ${{ steps.label-when-approved-by-anyone.outputs.isApproved }} steps: - name: Label when approved by commiters - uses: TobKed/[email protected] + uses: TobKed/label-when-approved-action@v1 id: label-when-approved-by-commiters with: token: ${{ secrets.GITHUB_TOKEN }} label: 'ready to merge (committers)' require_committers_approval: 'true' + comment: 'PR approved by at least one committer and no changes requested.' - name: Label when approved by anyone - uses: TobKed/[email protected] + uses: TobKed/label-when-approved-action@v1 id: label-when-approved-by-anyone with: token: ${{ secrets.GITHUB_TOKEN }}
