Skip to content

Commit

Permalink
[PLAY-1708] Skip RC process with 'Inactive RC' label (#4021)
Browse files Browse the repository at this point in the history
**What does this PR do?**
Skip RC process with 'Inactive RC' label.

**How to test?** Steps to confirm the desired behavior:
After this is merged, RCs should work as normal. 
This PR has the 'Inactive RC' label, so an RC should not be generated.

#### Checklist:
- [x] **LABELS** Add a label: `enhancement`, `bug`, `improvement`, `new
kit`, `deprecated`, or `breaking`. See [Changelog &
Labels](https://github.com/powerhome/playbook/wiki/Changelog-&-Labels)
for details.
- [x] **DEPLOY** I have added the `milano` label to show I'm ready for a
review.

---------

Co-authored-by: Jasper Furniss <[email protected]>
  • Loading branch information
kangaree and jasperfurniss authored Dec 20, 2024
1 parent a5af760 commit c18408e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/github-actions-release-candidate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,11 @@ jobs:
exit 1
fi
if echo "$LABELS" | grep -iq "Inactive RC"; then
echo "⏭️ PR has the 'Inactive RC' label. Skipping the release candidate process."
exit 0 # Exit the job early, skipping the rest of the workflow
fi
SEMVER_LABEL=$(echo "$LABELS" | grep -iE '^(major|minor|patch)$' || true)
echo "Found Semver labels: $SEMVER_LABEL"
Expand Down

0 comments on commit c18408e

Please sign in to comment.