Skip to content

Commit d9e5447

Browse files
committed
Add a notice when the label does nto exist.
1 parent bfb5fc7 commit d9e5447

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/backport.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -287,4 +287,6 @@ jobs:
287287
288288
if gh label list --repo "${PR_REPO}" --json name --jq '[.[].name] | contains(["Auto-backport"])' | grep -q 'true'; then
289289
gh pr edit "$PR_URL" --repo "${PR_REPO}" --add-label 'Auto-backport'
290+
else
291+
echo "::notice::The 'Auto-backport' label does not exist on ${PR_REPO}. Consider adding it so that backport pull requests can be identified easily."
290292
fi

0 commit comments

Comments
 (0)