diff --git a/.github/workflows/pr-automator.yml b/.github/workflows/repo-automator.yml similarity index 52% rename from .github/workflows/pr-automator.yml rename to .github/workflows/repo-automator.yml index 456c0a5b..1991b048 100644 --- a/.github/workflows/pr-automator.yml +++ b/.github/workflows/repo-automator.yml @@ -1,9 +1,16 @@ -name: 'PR Automator' +name: 'Repo Automator' on: + issues: + types: + - opened + push: + branches: + - develop pull_request: types: - opened - edited + - synchronize - converted_to_draft - ready_for_review branches: @@ -13,10 +20,14 @@ jobs: Validate: runs-on: ubuntu-latest steps: - - uses: 10up/action-pr-automator@trunk + - uses: 10up/action-repo-automator@trunk with: fail-label: needs:feedback pass-label: needs:code-review - reviewer: iamdharmesh + conflict-label: needs:refresh + sync-pr-branch: true + reviewers: | + iamdharmesh + team:open-source-practice env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}