Skip to content

librarian: no commit generated when working on non-main branch #2701

@vchudnov-g

Description

@vchudnov-g

I tried to generate a new library using the command

LIBRARIAN_GITHUB_TOKEN=$(gh auth token) librarian generate -api=google/cloud/hypercomputecluster/v1beta -library=google-cloud-hypercomputecluster -push

Generation appears to have succeeded, but Librarian does not commit the changes. It says the changes are already there (in google-cloud-python, presumably, but they're not). These are the last log messages Librarian printed:

time=2025-10-28T13:35:15.211-07:00 level=INFO msg="Generation succeeds" id=google-cloud-hypercomputecluster
time=2025-10-28T13:35:27.965-07:00 level=INFO msg="No changes to commit, skipping commit and push."

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions