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-weekly
job totag-weekly-release
.outputs
forcommit_range_start
andcommit_range_end
.release/weekly/<YYMMDD>
.release/weekly/*
tag (or falls back tomain
).build.yml
job with those commit range values.Build Workflow (
build.yml
)inputs
:commit_range_start
andcommit_range_end
(both optional, defaulting togithub.event.before/after
).inputs.commit_range_end
(orgithub.sha
if missing) and enablefetch-tags
.Get-Changed-Components.ps1
invocation to use the new inputs, falling back to the default event values.Miscellaneous
Why these changes
main
into therel/weekly
branch, but cron‑triggered workflows lose thegithub.event.before
andgithub.event.after
values. By creating a dedicated tag for each weekly release, we can reliably compute the commit range between releases.commit_range_start/commit_range_end
as inputs keeps thebuild.yml
reusable and makes the commit range explicit.Next steps (planned, optional)
scheduled-releases.yml
workflow to supporton: push: tags: 'release/weekly/*'
, so releases can be made by pushing a (protected) tag on a specific commit.scheduled-releases.yml
to 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.