From bad951a7683a08055b6a418077d646a16167d166 Mon Sep 17 00:00:00 2001 From: Dharmesh Patel Date: Wed, 23 Aug 2023 13:31:02 +0530 Subject: [PATCH] Update repo automator workflow. --- .../{pr-automator.yml => repo-automator.yml} | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) rename .github/workflows/{pr-automator.yml => repo-automator.yml} (52%) 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 }}