From 565c810f1e46f49eed3c0f83dcfc254654919939 Mon Sep 17 00:00:00 2001 From: Afonso Jorge Ramos Date: Sun, 27 Mar 2022 12:29:45 +0200 Subject: [PATCH] feat: add auto-assign to themes issues and PRs (#700) * feat: add auto-assign to themes * removed comma * removed ending commas * add extra contributors --- .github/workflows/auto-assign.yml | 63 +++++++++++++++++++++++++++++++ 1 file changed, 63 insertions(+) create mode 100644 .github/workflows/auto-assign.yml diff --git a/.github/workflows/auto-assign.yml b/.github/workflows/auto-assign.yml new file mode 100644 index 0000000..37bfe4d --- /dev/null +++ b/.github/workflows/auto-assign.yml @@ -0,0 +1,63 @@ +name: "Auto Assing on Theme" +on: + issues: + types: [opened, edited] + pull_request: + types: [opened, edited] + +jobs: + assign: + runs-on: ubuntu-latest + steps: + - uses: Naturalclar/issue-action@v2.0.2 + with: + title-or-body: "both" + parameters: | + [ + { + "keywords": ["BurntSienna"], + "labels": ["🙋 help wanted"], + "assignees": ["pjaspinski"] + }, + { + "keywords": ["Default"], + "labels": ["🙋 help wanted"], + "assignees": ["Blacksuan19"] + }, + { + "keywords": ["Dreary"], + "labels": ["🙋 help wanted"], + "assignees": ["CharlieS1103"] + }, + { + "keywords": ["Dribbblish"], + "labels": ["🙋 help wanted"], + "assignees": ["khanhas"] + }, + { + "keywords": ["Glaze"], + "labels": ["🙋 help wanted"], + "assignees": ["CharlieS1103"] + }, + { + "keywords": ["Onepunch"], + "labels": ["🙋 help wanted"], + "assignees": ["okarin001"] + }, + { + "keywords": ["Sleek"], + "labels": ["🙋 help wanted"], + "assignees": ["harbassan"] + }, + { + "keywords": ["Turntable"], + "labels": ["🙋 help wanted"], + "assignees": ["grasonchan"] + }, + { + "keywords": ["Ziro"], + "labels": ["🙋 help wanted"], + "assignees": ["schnensch0"] + } + ] + github-token: "${{ secrets.GITHUB_TOKEN }}"