From 3150bedd75987be5c8f09bbc8027a7a1a2800be2 Mon Sep 17 00:00:00 2001 From: Dhanya Thattil Date: Wed, 9 Sep 2026 13:37:00 +0200 Subject: [PATCH] If it doesnt find the milestone it should fail --- .github/workflows/pr_milestone.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/pr_milestone.yaml b/.github/workflows/pr_milestone.yaml index 91a51c405..57f9b576d 100644 --- a/.github/workflows/pr_milestone.yaml +++ b/.github/workflows/pr_milestone.yaml @@ -81,6 +81,9 @@ jobs: const bugFix = getTarget('bug_fix'); if (!major || !minor || !bugFix) { + core.setFailed( + 'Required release targets (major, minor, bug_fix) could not be resolved from yaml file.' + ); return; }