You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: release init provides read-only full repository (#2370)
Fixes#2025Fixes#2429
Related to #2218
Skips copy of repository for `release init`. We pass the entire repo
(already as read-only) to the language container.
|`/librarian`| Mount (Read/Write) | Contains `release-init-request.json`. Container writes back a `release-init-response.json`. |
252
-
|`/repo`| Mount (Read) |Parts of the language repo. This directory will contain all directories that make up a library, the .librarian folder, and any global file declared in the `config.yaml`. |
252
+
|`/repo`| Mount (Read) |Read-only contents of the language repo including any global files declared in the `config.yaml`. |
253
253
|`/output`| Mount (Write) | Any files updated during the release phase should be moved to this directory, preserving their original paths. |
254
254
|`command`| Positional Argument | The value will always be `release-init`. |
255
255
| flags. | Flags | Flags indicating the locations of the mounts: `--librarian`, `--repo`, `--output`|
@@ -307,10 +307,12 @@ global file edits. The libraries that are being released will be marked by the `
307
307
"error": "An optional field to share error context back to Librarian."
308
308
}
309
309
```
310
+
310
311
[config-schema.md]:config-schema.md
311
312
[state-schema.md]: state-schema.md
312
313
313
314
## Language repository settings
315
+
314
316
To correctly parse the commit message of a merge commit, only allow squash merging
315
317
and set the default commit message to **Pull request title and description**.
0 commit comments