From e3a0476d1bdcbf5692e97135d3e653b4cdd84cda Mon Sep 17 00:00:00 2001 From: Christian Marangi Date: Mon, 13 Nov 2023 02:09:57 +0100 Subject: [PATCH] CI: add issue labeller action Add issue labeler action. This action will parse BUG issue from the template and will make validation on the insert data. The action will: - Tag the issue with SNAPSHOT or release based on the provided release - Tag the issue with the reported tag - Tag the issue with the image kind (Official or Self Built) - Validate the reported version exist - Validate the reported release exist - Validate the reported device exist Will also tag the issue with useful tag or flag the issue as invalid. Will also comment the issue with the invalid info provided. Signed-off-by: Christian Marangi --- .github/workflows/issue-labeller.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 .github/workflows/issue-labeller.yml diff --git a/.github/workflows/issue-labeller.yml b/.github/workflows/issue-labeller.yml new file mode 100644 index 000000000000..585bd279e047 --- /dev/null +++ b/.github/workflows/issue-labeller.yml @@ -0,0 +1,11 @@ +name: Issue Labeller +on: + issues: + types: [ opened ] + +jobs: + label-component: + name: Validate and Tag Bug Report + permissions: + issues: write + uses: openwrt/actions-shared-workflows/.github/workflows/issue-labeller.yml@main -- 2.30.2