feat: add a scheduled release cut workflow to cut release branches#6739
feat: add a scheduled release cut workflow to cut release branches#6739
Conversation
🔒 Scanned for secrets using gitleaks 8.28.0
| outputs: | ||
| should_run: ${{ steps.check.outputs.should_run }} | ||
| steps: | ||
| - name: Check biweekly schedule |
There was a problem hiding this comment.
Do we really need to schedule this? Can't we just trigger it manually?
There was a problem hiding this comment.
manual trigger is also there if we need to trigger release manually
There was a problem hiding this comment.
I don't think we need the automatic trigger, but will let @ktgowtham decide :)
There was a problem hiding this comment.
We generally get confirmation from team members of any pending PRs before cutting a release. So with scheduled action, we might sometimes need to cut it again, if team members aren't ready.
I'm fine keeping it manual for now.
But thanks for this PR, we don't need to do these steps manually now. Also avoids any typo issues when creating branches.
There was a problem hiding this comment.
I think keeping this automated will make people get their PRs merged before the cut. We can try to keep this automated for sometime, if we feel that automation is not required, we can disable the schedule.
wdyt?
There was a problem hiding this comment.
okay. let's communicate to wider team about this and that their PRs need to be merged before the scheduled time. anything later, they'll have to reach out to consider the PR.
Let's add a slack reminder in #server-dev a day before to merge any pending PRs before the cut off time.
There was a problem hiding this comment.
also I am adding two repository variables to control the behavior:
- PAUSE_AUTO_RELEASE — set to "true" to skip scheduled releases (release freeze). Manual workflow_dispatch still works so you can override the freeze if needed.
- RELEASE_WEEK_PARITY — set to "even" (default) or "odd" to control which ISO weeks are release weeks.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #6739 +/- ##
==========================================
+ Coverage 79.67% 79.69% +0.02%
==========================================
Files 565 565
Lines 63376 63376
==========================================
+ Hits 50494 50509 +15
+ Misses 9895 9884 -11
+ Partials 2987 2983 -4 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
| outputs: | ||
| should_run: ${{ steps.check.outputs.should_run }} | ||
| steps: | ||
| - name: Check biweekly schedule |
There was a problem hiding this comment.
We generally get confirmation from team members of any pending PRs before cutting a release. So with scheduled action, we might sometimes need to cut it again, if team members aren't ready.
I'm fine keeping it manual for now.
But thanks for this PR, we don't need to do these steps manually now. Also avoids any typo issues when creating branches.
🔒 Scanned for secrets using gitleaks 8.28.0
…iable 🔒 Scanned for secrets using gitleaks 8.28.0
Description
Purpose
Automates biweekly release branch creation for rudder-server.
Two repository variables control the behavior:
Trigger
Jobs
Runs only if check-schedule says it's a release week.
Notable Details
Linear Ticket
Security