Skip to content

Commit 973a2e9

Browse files
authored
chore: [REL-4161] run homebrew deploy key through toJSON (#552)
Deploy keys are apparently multi-line and need to be run through toJSON for proper encoding. <!-- ld-jira-link --> --- Related Jira issue: [REL-4161: Migrate ld-find-code-refs from Releaser to GHA](https://launchdarkly.atlassian.net/browse/REL-4161) <!-- end-ld-jira-link -->
1 parent 4ba17d0 commit 973a2e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
DRY_RUN: ${{ inputs.dryRun || 'false' }}
2828
CHANGELOG_ENTRY: ${{ inputs.changeLog }}
2929
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
30-
HOMEBREW_GH_TOKEN: ${{ secrets.LAUNCHDARKLY_HOMEBREW_TAP_DEPLOY_KEY }}
30+
HOMEBREW_GH_TOKEN: ${{ toJSON(secrets.LAUNCHDARKLY_HOMEBREW_TAP_DEPLOY_KEY) }}
3131
ARTIFACT_DIRECTORY: "/tmp/release-artifacts"
3232
steps:
3333
- uses: actions/checkout@v4

0 commit comments

Comments
 (0)