Skip to content

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

Merged
chingor13 merged 1 commit intogoogleapis:mainfrom
rrey:fix-pr-not-found
Apr 8, 2026
Merged

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

Conversation

@rrey
Copy link
Copy Markdown
Contributor

@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
@rrey
Copy link
Copy Markdown
Contributor Author

rrey commented Apr 7, 2026

@chingor13 sorry for the direct ping, is there anything I can do around this PR to make things easier or faster ?

@chingor13 chingor13 merged commit 9ecabc4 into googleapis:main Apr 8, 2026
13 of 15 checks passed
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

3 participants