From ab00a6fd9a8e339cbbb40951961eb5afc4f70eb2 Mon Sep 17 00:00:00 2001 From: Jezza34000 <57314417+Jezza34000@users.noreply.github.com> Date: Tue, 24 Dec 2024 10:10:40 +0100 Subject: [PATCH] :construction_worker: fix CI labels and add auto assign --- .github/ISSUE_TEMPLATE/bug.yml | 3 ++- .github/ISSUE_TEMPLATE/feature_request.yml | 3 ++- .github/workflows/auto-assign.yml | 17 +++++++++++++++++ 3 files changed, 21 insertions(+), 2 deletions(-) create mode 100644 .github/workflows/auto-assign.yml diff --git a/.github/ISSUE_TEMPLATE/bug.yml b/.github/ISSUE_TEMPLATE/bug.yml index 146078a..d945548 100644 --- a/.github/ISSUE_TEMPLATE/bug.yml +++ b/.github/ISSUE_TEMPLATE/bug.yml @@ -1,7 +1,8 @@ --- name: "Bug report" description: "Report a bug with the integration" -labels: "Bug" +labels: + - "Bug" body: - type: markdown attributes: diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.yml index 626159f..8b228ae 100644 --- a/.github/ISSUE_TEMPLATE/feature_request.yml +++ b/.github/ISSUE_TEMPLATE/feature_request.yml @@ -1,7 +1,8 @@ --- name: "Feature request" description: "Suggest an idea for this project" -labels: "Feature+Request" +labels: + - "Feature Request" body: - type: markdown attributes: diff --git a/.github/workflows/auto-assign.yml b/.github/workflows/auto-assign.yml new file mode 100644 index 0000000..f2d742f --- /dev/null +++ b/.github/workflows/auto-assign.yml @@ -0,0 +1,17 @@ +name: Assign issues to Jezza34000 + +on: + issues: + types: + - opened + - reopened + +jobs: + assign: + runs-on: ubuntu-latest + steps: + - name: Assign issue to Jezza34000 + uses: actions-ecosystem/action-add-issue-assigner@v1 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + assignees: Jezza34000