From 45a82881a3b4bcf4924a3ba3005ef4d87373090a Mon Sep 17 00:00:00 2001 From: Coline Date: Fri, 25 Feb 2022 14:52:57 +0100 Subject: [PATCH] feat: add auto author assign for pr - remove checklist in pr template --- .github/pull_request_template.md | 8 -------- .github/workflows/auto-author-assign.yml | 14 ++++++++++++++ 2 files changed, 14 insertions(+), 8 deletions(-) create mode 100644 .github/workflows/auto-author-assign.yml diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md index e8e90eb..35ec761 100644 --- a/.github/pull_request_template.md +++ b/.github/pull_request_template.md @@ -13,14 +13,6 @@ Please provide a detailed description of what was done in this PR. Please complete this section if any breaking changes have been made, otherwise delete it. -## Checklist - -- [ ] I have assigned this PR to myself -- [ ] I have added at least 1 reviewer -- [ ] I have tested this code -- [ ] I have added sufficient documentation in the code -- [ ] I have added labels to this PR - ## Additional comments Please post additional comments in this section if you have them, otherwise delete it. \ No newline at end of file diff --git a/.github/workflows/auto-author-assign.yml b/.github/workflows/auto-author-assign.yml new file mode 100644 index 0000000..a19fb99 --- /dev/null +++ b/.github/workflows/auto-author-assign.yml @@ -0,0 +1,14 @@ +name: 'Auto Author Assign' + +on: + pull_request_target: + types: [opened, reopened] + +permissions: + pull-requests: write + +jobs: + assign-author: + runs-on: ubuntu-latest + steps: + - uses: toshimaru/auto-author-assign@v1.4.0 \ No newline at end of file