From 46d0bb786cf71ed6cbe7d0bc1c95dd5dc3e869fd Mon Sep 17 00:00:00 2001 From: japananh Date: Fri, 19 Jan 2024 00:35:14 +0700 Subject: [PATCH] feat: test github action --- .github/auto_assign.yml | 2 +- .github/workflows/action.yml | 11 ----------- .github/workflows/pull-request.yml | 8 ++++++++ 3 files changed, 9 insertions(+), 12 deletions(-) delete mode 100644 .github/workflows/action.yml create mode 100644 .github/workflows/pull-request.yml diff --git a/.github/auto_assign.yml b/.github/auto_assign.yml index ef71467..9a273af 100644 --- a/.github/auto_assign.yml +++ b/.github/auto_assign.yml @@ -7,7 +7,7 @@ addAssignees: author # A list of reviewers to be added to pull requests (GitHub username) reviewers: - - japananh + - ncthanhngo # A number of reviewers added to the pull request # Set 0 to add all the reviewers (default: 0) diff --git a/.github/workflows/action.yml b/.github/workflows/action.yml deleted file mode 100644 index 51ac3fb..0000000 --- a/.github/workflows/action.yml +++ /dev/null @@ -1,11 +0,0 @@ -name: Auto Assign -on: [push, pull_request] -jobs: - add-reviewers-assignees: - permissions: write-all - name: Auto Add Reviewer and Assignees - runs-on: ubuntu-latest - steps: - - uses: kentaro-m/auto-assign-action@v1.2.6 - with: - configuration-path: '.github/auto_assign.yml' # Only needed if you use something other than .github/auto_assign.yml \ No newline at end of file diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml new file mode 100644 index 0000000..7bf5ac5 --- /dev/null +++ b/.github/workflows/pull-request.yml @@ -0,0 +1,8 @@ +name: Auto Assign +on: pull_request + +jobs: + add-reviews: + runs-on: ubuntu-latest + steps: + - uses: kentaro-m/auto-assign-action@v1.2.6 \ No newline at end of file