From 63e9cb6d2905a5b47a317209ce63e3fd2b06cb88 Mon Sep 17 00:00:00 2001 From: Curtis Robert Date: Thu, 31 Aug 2023 11:21:01 -0700 Subject: [PATCH] [chore] Fix GitHub add-label workflow to ping codeowners The add-label workflow is used by GitHub when manually adding labels to issues. When adding a new component to an issue, the workflow attempts to ping codeowners of the given component. However, the link to the ping codeowners script was outdated, and was failing. This change references the moved script. --- .github/workflows/scripts/add-labels.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/scripts/add-labels.sh b/.github/workflows/scripts/add-labels.sh index 7f94993cddac..93d081abaa45 100755 --- a/.github/workflows/scripts/add-labels.sh +++ b/.github/workflows/scripts/add-labels.sh @@ -59,7 +59,7 @@ for LABEL_REQ in ${LABELS}; do # Labels added by a GitHub Actions workflow don't trigger other workflows # by design, so we have to manually ping code owners here. - COMPONENT="${LABEL}" ISSUE=${ISSUE} SENDER="${SENDER}" bash "${CUR_DIRECTORY}/ping-codeowners.sh" + COMPONENT="${LABEL}" ISSUE=${ISSUE} SENDER="${SENDER}" bash "${CUR_DIRECTORY}/ping-codeowners-issues.sh" else gh issue edit "${ISSUE}" --remove-label "${LABEL}" fi