Skip to content

Document module-ci-v1 moving-tag convention#1089

Merged
mikelittle merged 3 commits into
masterfrom
document-module-ci-moving-tag
Jul 23, 2026
Merged

Document module-ci-v1 moving-tag convention#1089
mikelittle merged 3 commits into
masterfrom
document-module-ci-moving-tag

Conversation

@mikelittle

Copy link
Copy Markdown
Contributor

Documents that module branches track the module-ci-v1 moving tag — how to move it for compatible changes, and when to cut module-ci-v2 for breaking ones — in the workflows README.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Comment thread .github/workflows/README.md Outdated
Comment on lines +53 to +56
The bulk helper at `humanmade/altis/scripts/update-module-gha-ref.sh` opens a PR per module repo to (re)point the `uses:` ref — used for the one-time move of a branch onto a tag, or to pin a specific SHA. It takes a ref (a tag/branch name kept literal, or a hex SHA pinned) and a `BASE_BRANCH` (default `master`):

```sh
BASE_BRANCH=v25-branch update-module-gha-ref.sh module-ci-v1 "<why>"

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.

You mention BASE_BRANCH but it is never used within the script https://github.com/humanmade/product-dev/blob/master/scripts/update-module-gha-ref.sh, i think this should rather be ./update-module-gha-ref.sh module-ci-v1 --base v25-branch.

Also <why> seems to missing an argument as it would land on * and return unknown argument: <why>. I think it should be ./update-module-gha-ref.sh module-ci-v1 --base v25-branch --message "<why>".

The right doc is actually used in https://github.com/humanmade/product-dev/pull/2192/changes so I'm guessing this was an oversight.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

The script has changed since this PR. I'll merge the updates and check it tthrough again.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Updated.

@mikelittle
mikelittle requested a review from wisyhambolu July 20, 2026 09:47

@wisyhambolu wisyhambolu left a comment

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.

Looks good

@mikelittle
mikelittle merged commit c028920 into master Jul 23, 2026
3 checks passed
@mikelittle
mikelittle deleted the document-module-ci-moving-tag branch July 23, 2026 16:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants