Skip to content

fix(release): parse release pull request number safely in urgent merge - #2621

Merged
dan-petty merged 1 commit into
mainfrom
fix/2616-release-pr-merge-empty
Oct 29, 2026
Merged

dan-petty merged 1 commit into
mainfrom
fix/2616-release-pr-merge-empty

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

Pass the raw release-please pull request output into the urgent merge step environment. Parse the pull request number with jq inside the step script when the pull request exists.

GitHub Actions evaluates workflow expressions during step template initialization. When release-please creates a release, its pull request output is empty. Evaluating fromJSON on the empty output caused a runner exception that stopped the workflow. Parsing with jq avoids template evaluation failure.

Closes #2616

Change: openspec/changes/archive/2026-10-29-2616-release-pr-merge-empty/

Pass the raw release-please pull request output into the urgent merge step environment. Parse the pull request number with jq inside the step script when the pull request exists.

GitHub Actions evaluates workflow expressions during step template initialization. When release-please creates a release, its pull request output is empty. Evaluating fromJSON on the empty output caused a runner exception that stopped the workflow. Parsing with jq avoids template evaluation failure.

Closes #2616

Change: `openspec/changes/archive/2026-10-29-2616-release-pr-merge-empty/`
@dan-petty
dan-petty marked this pull request as ready for review October 29, 2026 04:04
@dan-petty
dan-petty merged commit 262244d into main Oct 29, 2026
16 checks passed
@dan-petty
dan-petty deleted the fix/2616-release-pr-merge-empty branch October 29, 2026 04:17
dan-petty pushed a commit that referenced this pull request Oct 29, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.15.0](v0.14.0...v0.15.0)
(2026-10-29)


### Features

* **k8s:** derived push entries, Secret types, one stack list
([#2618](#2618))
([3634c6f](3634c6f)),
closes [#2008](#2008)
* **k8s:** image-pins refuses an image on the latest tag
([#2617](#2617))
([548b3ba](548b3ba)),
closes [#2093](#2093)
* **monitoring:** alert when a noeviction Valkey nears its bound
([#2615](#2615))
([f452644](f452644)),
closes [#2094](#2094)
* **review:** golangci-lint runs offline in the review sandbox
([#2622](#2622))
([20915ce](20915ce)),
closes [#2129](#2129)
* **review:** the SARIF export writes how each tool run ended
([#2620](#2620))
([8f8ef44](8f8ef44)),
closes [#2100](#2100)


### Bug Fixes

* **release:** parse release pull request number safely in urgent merge
([#2621](#2621))
([262244d](262244d))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: dan-petty-release[bot] <346998822+dan-petty-release[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix(release): release pr merge step fails when pr output is empty

1 participant