Skip to content

chore: verify bootstrap version format before merge#794

Merged
mcdurdin merged 3 commits into
masterfrom
chore/verify-bootstrap-version
Jun 17, 2026
Merged

chore: verify bootstrap version format before merge#794
mcdurdin merged 3 commits into
masterfrom
chore/verify-bootstrap-version

Conversation

@mcdurdin

Copy link
Copy Markdown
Member

It is important that the bootstrap version is pointing to a published tag, so that merged changes do not end up pointing to an ephemeral ref on the shared-sites repository. This change splits the bootstrap version into a separate file resources/.bootstrap-required-version, so that this version string can be easily checked in ci.yml, preventing merge of pull requests that point to branch names instead of tag names. For simplicity, the test verifies the shape of the version string as 'v#.#.#', but does not verify that it actually points to a tag, so in theory it could be fooled, but in practice we never use that pattern for branch names.

Test-bot: skip

It is important that the bootstrap version is pointing to a published
tag, so that merged changes do not end up pointing to an ephemeral ref
on the shared-sites repository. This change splits the bootstrap version
into a separate file resources/.bootstrap-required-version, so that this
version string can be easily checked in ci.yml, preventing merge of pull
requests that point to branch names instead of tag names. For simplicity,
the test verifies the shape of the version string as 'v#.#.#', but does
not verify that it actually points to a tag, so in theory it could be
fooled, but in practice we never use that pattern for branch names.

Test-bot: skip
@keymanapp-test-bot

Copy link
Copy Markdown

User Test Results

Test specification and instructions

User tests are not required

@keymanapp-test-bot keymanapp-test-bot Bot added this to the A19S31 milestone Jun 16, 2026
@github-project-automation github-project-automation Bot moved this to Todo in Keyman Jun 16, 2026
@github-actions github-actions Bot added the chore label Jun 16, 2026
@mcdurdin mcdurdin requested review from darcywong00 and ermshiperete and removed request for ermshiperete June 16, 2026 12:34
Comment thread resources/.bootstrap-required-version Outdated
@@ -0,0 +1 @@
feat/linkinator-and-central-test-script No newline at end of file

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When does this get updated?
(and will it need to be a v#.#.#?)

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's what this PR is testing, and yeah, because I accidentally merged this morning before updating to a tag!

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So this PR will stop that mistake happening again -- CI / build-test will verify it

mcdurdin added a commit to keymanapp/api.keyman.com that referenced this pull request Jun 16, 2026
mcdurdin added a commit to keymanapp/help.keyman.com that referenced this pull request Jun 16, 2026
mcdurdin added a commit to keymanapp/s.keyman.com that referenced this pull request Jun 16, 2026
mcdurdin added a commit to keymanapp/shared-sites that referenced this pull request Jun 16, 2026
@mcdurdin mcdurdin force-pushed the chore/verify-bootstrap-version branch from c8e0a4d to a9152a1 Compare June 16, 2026 13:52
mcdurdin added a commit to keymanapp/api.keyman.com that referenced this pull request Jun 16, 2026
mcdurdin added a commit to keymanapp/help.keyman.com that referenced this pull request Jun 16, 2026
mcdurdin added a commit to keymanapp/keymanweb.com that referenced this pull request Jun 16, 2026
@mcdurdin mcdurdin merged commit bbd0d03 into master Jun 17, 2026
5 checks passed
@mcdurdin mcdurdin deleted the chore/verify-bootstrap-version branch June 17, 2026 04:39
@github-project-automation github-project-automation Bot moved this from Todo to Done in Keyman Jun 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

4 participants