Skip to content

librarian(bug): pullrequest url format mismatch #1924

@catchyzheng

Description

@catchyzheng

When triggering CloudBuild publish-release-worker job, the Librarian CLI error I see is:

2025/09/03 22:51:26 INFO processing a single pull request pr=https://github.com/googleapis/google-cloud-python/pull/14288
2025/09/03 22:51:26 invalid pull request format: https://github.com/googleapis/google-cloud-python/pull/14288

The root cause is pullrequest url format is https://github.com/{owner}/{repo}/pull/{number} (see config.go). However, after splitting by /, the segment number is 7 not 5(pullRequestSegments const value). (see tag_and_release.go)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions