From 739e9d88d13036727e58fa6175d9bddb1dcdcb35 Mon Sep 17 00:00:00 2001 From: Maria Alexandra <239999+axelavargas@users.noreply.github.com> Date: Thu, 30 Dec 2021 17:45:27 +0100 Subject: [PATCH] Chore: Add command to remove issue from project in GH actions (#43595) Co-authored-by: natellium --- .github/commands.json | 16 ++++++++++++++++ .github/workflows/commands.yml | 2 +- 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/.github/commands.json b/.github/commands.json index 7d4d03edd46..c0bc1c71c26 100644 --- a/.github/commands.json +++ b/.github/commands.json @@ -161,5 +161,21 @@ "addToProject":{ "url":"https://github.com/orgs/grafana/projects/54" } + }, + { + "type":"label", + "name":"oss-user-essentials", + "action":"removeFromProject", + "addToProject":{ + "url":"https://github.com/orgs/grafana/projects/78" + } + }, + { + "type":"label", + "name":"oss-user-essentials", + "action":"removeFromProject", + "addToProject":{ + "url":"https://github.com/grafana/grafana/projects/33" + } } ] diff --git a/.github/workflows/commands.yml b/.github/workflows/commands.yml index 91af6976fbf..969c4869134 100644 --- a/.github/workflows/commands.yml +++ b/.github/workflows/commands.yml @@ -1,7 +1,7 @@ name: Run commands when issues are labeled or comments added on: issues: - types: [labeled] + types: [labeled, unlabeled] issue_comment: types: [created]