Skip to content

Commit d36c99a

Browse files
authored
chore: add .librarian/config.yaml (#14307)
Add a [.librarian/config.yaml](https://github.com/googleapis/librarian/blob/main/doc/language-onboarding.md#configyaml) file to allow the [language specific container](https://github.com/googleapis/librarian/blob/main/doc/language-onboarding.md#container-contracts) to access the `CHANGELOG.md` file when the [librarian release init](https://github.com/googleapis/librarian/blob/main/doc/language-onboarding.md#release-init) command is used. The proposed `config.yaml` is similar to the examples in https://github.com/googleapis/librarian/blob/main/doc/language-onboarding.md#release-init This is needed to update the root [CHANGELOG.md](https://github.com/googleapis/google-cloud-python/blob/main/CHANGELOG.md) file which is currently updated using the Github action [here](https://github.com/googleapis/google-cloud-python/blob/main/.github/workflows/updatechangelog.yml). We will be able to remove the Github action once all libraries have migrated off of `release-please` to `librarian release init`
1 parent 7bec7ae commit d36c99a

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.librarian/config.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
global_files_allowlist:
2+
# Allow the container to read and write the root `CHANGELOG.md`
3+
# file during the `release` step to update the latest client library
4+
# versions which are hardcoded in the file.
5+
- path: "CHANGELOG.md"
6+
permissions: "read-write"

0 commit comments

Comments
 (0)