From f5ff8951bd70f1ac1010dfe65adc0f84d475e2a3 Mon Sep 17 00:00:00 2001 From: Desi McAdam Date: Sat, 7 Dec 2024 13:07:51 -0700 Subject: [PATCH] Add label for use in github project auto add workflow (#5042) ## Explanation We have a github project setup to track client controller upgrade issues that are created by this github action. Github projects workflow is not working for auto adding solely based on title match and the options for what to match on are very limited. Labels are one way we can do that. This PR adds a label that we can trigger the auto add workflow on. ## References ## Changelog n/a ## Checklist n/a --- .github/workflows/create-update-issues.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/create-update-issues.yaml b/.github/workflows/create-update-issues.yaml index 6533d0ef1a..b0189812f0 100644 --- a/.github/workflows/create-update-issues.yaml +++ b/.github/workflows/create-update-issues.yaml @@ -36,8 +36,8 @@ jobs: if [[ $version == *.0.0 ]]; then # Fetch responsible team from file teams=$(jq -r --arg key "$package_name" '.[$key]' teams.json) - gh issue create --title "Update ${package_name} to version ${version}" --body "Please update ${package_name} to version ${version}" --repo "MetaMask/metamask-extension" --label "$teams" - gh issue create --title "Update ${package_name} to version ${version}" --body "Please update ${package_name} to version ${version}" --repo "MetaMask/metamask-mobile" --label "$teams" + gh issue create --title "Update ${package_name} to version ${version}" --body "Please update ${package_name} to version ${version}" --repo "MetaMask/metamask-extension" --label "$teams, client-controller-update" + gh issue create --title "Update ${package_name} to version ${version}" --body "Please update ${package_name} to version ${version}" --repo "MetaMask/metamask-mobile" --label "$teams, client-controller-update" fi fi done