From dd61ac5266927b3494ce05a3ae9a0460cbec3967 Mon Sep 17 00:00:00 2001 From: Martin Hochel Date: Wed, 14 Sep 2022 10:38:31 +0200 Subject: [PATCH] ci(github): add GH Action to add issue labels based on new GH issue template --- .github/workflows/issues.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/issues.yml diff --git a/.github/workflows/issues.yml b/.github/workflows/issues.yml new file mode 100644 index 00000000000000..79354eb06e3d38 --- /dev/null +++ b/.github/workflows/issues.yml @@ -0,0 +1,21 @@ +name: Triage Bot +on: + issues: + types: + - opened + +jobs: + triage-issue: + runs-on: ubuntu-latest + steps: + - uses: Naturalclar/issue-action@v2.0.2 + with: + title-or-body: 'body' + parameters: > + '[ + {"keywords": ["@fluentui/react-northstar"], "labels": ["Fluent UI react-northstar (v0)"]}, + {"keywords": ["@fluentui/react"], "labels": ["Fluent UI react (v8)"]}, + {"keywords": ["@fluentui/react-components"], "labels": ["Fluent UI react-components (v9)"]}, + {"keywords": ["@fluentui/web-components"],"labels": ["web-components"],"assignees": ["@chrisdholt"]} + ]' + github-token: '${{ secrets.GITHUB_TOKEN }}'