diff --git a/README.md b/README.md index a8dea573..409d7f5d 100644 --- a/README.md +++ b/README.md @@ -15,11 +15,11 @@ jobs: runs-on: ubuntu-latest steps: - name: "Assign Team and Persons" - uses: rowi1de/auto-assign-review-teams@v0.0.6 + uses: rowi1de/auto-assign-review-teams@v1.0.1 with: repo-token: ${{ secrets.GITHUB_TOKEN }} teams: "gitub-org-team" # only works for GitHub Organisation/Teams persons: "rowi1de" # add individual persons here include-draft: false # Draft PRs will be skipped (default: false) skip-with-manual-reviewers: 0 # Skip this action, if the number of reviwers was already assigned (default: 0) -``` \ No newline at end of file +``` diff --git a/action.yml b/action.yml index cb07b4de..4e90855c 100644 --- a/action.yml +++ b/action.yml @@ -17,6 +17,9 @@ inputs: include-draft: description: 'If set to true, DRAFT PRs will also be covered (default=false)' required: false + skip-with-manual-reviewers: + description: 'If the given nubmer of reviewers is already assigned, auto assign will be skipped' + required: false runs: using: 'node12' diff --git a/self.yml b/self.yml index 9b21b09d..7a1a1cf1 100644 --- a/self.yml +++ b/self.yml @@ -8,7 +8,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/auto-assign-review-teams@v0.0.6 + - uses: actions/auto-assign-review-teams@v1.0.1 with: repo-token: ${{ secrets.GITHUB_TOKEN }} persons: "rowi1de"