From 6cf9cd79b39c5814ff63364d4d444dba88cb7115 Mon Sep 17 00:00:00 2001 From: Raphael Odini Date: Wed, 12 Jun 2024 16:02:21 +0200 Subject: [PATCH] Replace existing author assignee workflow --- .github/auto_assign.yml | 2 +- .github/workflows/pr-auto-assignees-author.yml | 14 -------------- ...team.yml => pr-auto-reviewers-and-assignee.yml} | 2 +- 3 files changed, 2 insertions(+), 16 deletions(-) delete mode 100644 .github/workflows/pr-auto-assignees-author.yml rename .github/workflows/{pr-auto-reviewers-team.yml => pr-auto-reviewers-and-assignee.yml} (80%) diff --git a/.github/auto_assign.yml b/.github/auto_assign.yml index 88b8702b1..a0f44d84e 100644 --- a/.github/auto_assign.yml +++ b/.github/auto_assign.yml @@ -15,4 +15,4 @@ reviewers: # gip-inclusion/admins-le-marche numberOfReviewers: 0 # Set addAssignees to 'author' to set the PR creator as the assignee. -# addAssignees: author # done in another workflow +addAssignees: author diff --git a/.github/workflows/pr-auto-assignees-author.yml b/.github/workflows/pr-auto-assignees-author.yml deleted file mode 100644 index 7544cfee6..000000000 --- a/.github/workflows/pr-auto-assignees-author.yml +++ /dev/null @@ -1,14 +0,0 @@ -name: PR Auto Assignees (author) - -on: - pull_request_target: - types: [opened, reopened] - -permissions: - pull-requests: write - -jobs: - assign-author: - runs-on: ubuntu-latest - steps: - - uses: toshimaru/auto-author-assign@v2.0.1 diff --git a/.github/workflows/pr-auto-reviewers-team.yml b/.github/workflows/pr-auto-reviewers-and-assignee.yml similarity index 80% rename from .github/workflows/pr-auto-reviewers-team.yml rename to .github/workflows/pr-auto-reviewers-and-assignee.yml index f0d49d74e..66d5ffa3e 100644 --- a/.github/workflows/pr-auto-reviewers-team.yml +++ b/.github/workflows/pr-auto-reviewers-and-assignee.yml @@ -1,4 +1,4 @@ -name: PR Auto Reviewers (team) +name: PR Auto Reviewers (team) & Assignee (author) on: pull_request: