Skip to content

Commit

Permalink
docs: Add troubleshooting guide for the scenario that release PR is m…
Browse files Browse the repository at this point in the history
…erged with `autorelease:closed` (#2255)

* doc: Update troubleshooting.md

* Update troubleshooting.md
  • Loading branch information
blakeli0 authored Sep 11, 2024
1 parent 06ff607 commit f3b62e5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/troubleshooting.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,3 +107,6 @@ more API calls (which is one reason a manifest config is preferred).
3. Iterate through the latest tags and compare against commit
SHAs seen in the last 250 commits on the branch. This is to
ensure that the tag happened on this target branch.

### What if my release PR is merged with `autorelease:closed`?
The release PR will be tagged with `autorelease:closed` on closing of the PR, but it will not be tagged with `autorelease:pending` on re-opening of the PR. Hence if a release PR was accidentally closed and re-opened before merging to main, release-please wouldn't be triggred. In such case, please manually remove `autorelease:closed`, add `autorelease: pending` and `release-please:force-run` to the release PR to force re-trigger the release process. See https://github.com/googleapis/google-cloud-java/pull/10615 for example.

0 comments on commit f3b62e5

Please sign in to comment.