@@ -156,15 +156,16 @@ entries, and the Release approval check fails on it.
156156Merge the release pull request once it is approved and its checks pass. gitsplit then pushes each
157157package to its split repository.
158158
159- In core, two more jobs in the same
160- [ gitsplit ] ( https://github.com/open-telemetry/opentelemetry-php/actions/workflows/split-monorepo.yaml )
161- run then tag the release:
159+ Two more jobs in the same gitsplit run then tag the release. The run is in the monorepo the release
160+ is for: [ core ] ( https://github.com/open-telemetry/opentelemetry-php/actions/workflows/split-monorepo.yaml )
161+ or [ contrib ] ( https://github.com/open-telemetry/opentelemetry-php-contrib/actions/workflows/split_monorepo.yaml ) .
162162
1631631 . Plan the release runs ` release:run --dry-run ` on the merge commit, and comments on the pull
164164 request with the versions it would tag.
1651652 . Tag the release waits for approval. Check the comment, open the run from its link, and approve
166- the job under Review deployments. It runs ` release:run ` , comments with a link to each release,
167- and refreshes the dashboard.
166+ the job under Review deployments. It runs ` release:run ` and comments with a link to each
167+ release. In core it also refreshes the dashboard. Contrib's job can't reach this repository, so
168+ tick Refresh now on contrib's dashboard, or wait for the daily rewrite.
168169
169170If the dry run finds a problem, such as a split that gitsplit hasn't pushed, the comment lists it and
170171nothing is tagged. Fix it, then [ tag by hand] ( #tag-by-hand ) .
@@ -174,7 +175,7 @@ including any tagged by hand since the comment.
174175
175176### Tag by hand
176177
177- Contrib isn't tagged on merge yet, and core may need tagging by hand if the job can't run . Run
178+ If the tag job can't run, tag by hand. Run
178179[ release: run ] ( https://github.com/opentelemetry-php/dev-tools#tag-a-release ) from a full checkout of
179180the monorepo at the release's merge commit. It needs a token that can create releases in the
180181opentelemetry-php organization, which only its administrators have. See
@@ -206,7 +207,7 @@ follow
206207| ` release-dashboard.yml ` | Rewrites the dashboard issues |
207208| ` release-pr.yml ` | Opens and rebuilds the release pull requests, and adds the note when ` main ` moves |
208209| ` release-approval.yml ` | The Release approval check on core's release pull request |
209- | ` split-monorepo.yaml ` | Pushes each package to its split repository, and tags core 's releases |
210+ | ` split-monorepo.yaml ` , and ` split_monorepo.yaml ` in contrib | Pushes each package to its split repository, and tags the monorepo 's releases |
210211
211212The dashboard workflow fails unless exactly one open issue has the dashboard's label. To replace
212213one that was closed or deleted, open an issue titled ` Release dashboard: core ` or
@@ -221,15 +222,16 @@ The Release approval check blocks a merge only once it is a required status chec
221222repository administrator sets. It is skipped on other pull requests, which counts as passing.
222223Contrib has no copy of the check yet, as a workflow here can't see contrib's pull requests.
223224
224- The tag job runs in the ` release ` environment. A repository administrator creates it under
225- Settings, Environments, with:
225+ The tag job runs in the monorepo's ` release ` environment. Core and contrib each have one, which a
226+ repository administrator set up under Settings, Environments, with:
226227
227228- Required reviewers: the maintainers who may approve a tag. Leave Prevent self-review off, so the
228229 maintainer who merged can approve.
229230- Deployment branches and tags: ` main ` only.
230- - The ` OPENTELEMETRY_PHP_CLIENT_ID ` variable and ` OPENTELEMETRY_PHP_PRIVATE_KEY ` secret of the
231- ` opentelemetry-php ` GitHub App, which an administrator of the opentelemetry-php organization can
232- create a key for.
231+ - In core, the ` OPENTELEMETRY_PHP_CLIENT_ID ` variable and ` OPENTELEMETRY_PHP_PRIVATE_KEY ` secret of
232+ the ` opentelemetry-php ` GitHub App, which an administrator of the opentelemetry-php organization
233+ can create a key for. Contrib has them as repository settings already, for gitsplit, and the tag
234+ job reads those.
233235
234236The tag job waits for approval only while the environment has required reviewers. So the plan job
235237checks for them first, and without them it fails and tags nothing.
0 commit comments