Skip to content

fix: do not attempt to create pull request when no changes detected#2722

Open
rrey wants to merge 1 commit intogoogleapis:mainfrom
rrey:fix-pr-not-found
Open

fix: do not attempt to create pull request when no changes detected#2722
rrey wants to merge 1 commit intogoogleapis:mainfrom
rrey:fix-pr-not-found

Conversation

@rrey
Copy link
Copy Markdown

@rrey rrey commented Mar 28, 2026

Proposing a fix for #2551 where the root cause is mainly identified in the issue.

Disclamer:

  • I used Claude Code to write this change but took time to look at the propose change and requested the additional test coverage.
  • I also checked that the issue was actually fixing the issue on one of the repos where we faced the issue by first reproducing the issue locally with an official release-please release and with the locally built version including my change

Checks:

  • Make sure to open an issue as a bug/issue before writing your code! That way we can discuss the change, evaluate designs, and agree on the general idea
  • Ensure the tests and linter pass
  • Code coverage does not decrease
  • Appropriate docs were updated (not required)

Fixes #2551

@rrey rrey requested review from a team as code owners March 28, 2026 10:26
@product-auto-label product-auto-label bot added the size: s Pull request size is small. label Mar 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size: s Pull request size is small.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

release-please does not handle the case where code-suggester returns 0 from createPullRequest

2 participants