Add tag‑based weekly scheduled incremental CI builds #713
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What was changed
Scheduled Release Workflow (
scheduled-releases.yml)merge-weeklyjob totag-weekly-release.outputsforcommit_range_startandcommit_range_end.release/weekly/<YYMMDD>.release/weekly/*tag (or falls back tomain).build.ymljob with those commit range values.Build Workflow (
build.yml)inputs:commit_range_startandcommit_range_end(both optional, defaulting togithub.event.before/after).inputs.commit_range_end(orgithub.shaif missing) and enablefetch-tags.Get-Changed-Components.ps1invocation to use the new inputs, falling back to the default event values.Miscellaneous
Why these changes
maininto therel/weeklybranch, but cron‑triggered workflows lose thegithub.event.beforeandgithub.event.aftervalues. By creating a dedicated tag for each weekly release, we can reliably compute the commit range between releases.commit_range_start/commit_range_endas inputs keeps thebuild.ymlreusable and makes the commit range explicit.Next steps (planned, optional)
scheduled-releases.ymlworkflow to supporton: push: tags: 'release/weekly/*', so releases can be made by pushing a (protected) tag on a specific commit.scheduled-releases.ymlto create a GitHub Release from the newly created tag.These items can be addressed in a subsequent PR once the tag‑based incremental build flow is fully validated.