Skip to content

Commit 496829c

Browse files
chore(ci): Fixes release path double-escaping (#1939)
- This is already escaped (as evidenced by the existing calls to fromJSON elsewhere) - from [the doc](https://github.com/googleapis/release-please-action?tab=readme-ov-file#outputs): > `paths_released`: A JSON string of the array of paths that had releases created ([] if ) ### Proposed Changes * ### Checklist - [ ] I have added or updated unit tests - [ ] I have added or updated integration tests (if appropriate) - [ ] I have added or updated documentation ### Testing Instructions
1 parent 53fa8ab commit 496829c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/release.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ jobs:
6161
esac
6262
done
6363
env:
64-
RELEASED_PATHS: ${{ toJson(steps.release-please.outputs.paths_released) }}
64+
RELEASED_PATHS: ${{ steps.release-please.outputs.paths_released }}
6565
update-go-mods:
6666
runs-on: ubuntu-latest
6767
needs:
@@ -100,7 +100,7 @@ jobs:
100100
git diff
101101
env:
102102
GONOSUMDB: github.com/opentdf/platform/${{join(fromJson(needs.release-please.outputs.paths_released), ',github.com/opentdf/platform/')}}
103-
RELEASED_PATHS: ${{ toJson(needs.release-please.outputs.paths_released) }}
103+
RELEASED_PATHS: ${{ needs.release-please.outputs.paths_released }}
104104
- uses: planetscale/ghcommit-action@d4176bfacef926cc2db351eab20398dfc2f593b5
105105
with:
106106
commit_message: "fix(core): Autobump ${{ matrix.path }}"

0 commit comments

Comments
 (0)