From c68757a202c031e29f912901f7221180e3d62c9a Mon Sep 17 00:00:00 2001 From: Steve Riesenberg <5248162+sjohnr@users.noreply.github.com> Date: Mon, 19 Aug 2024 15:50:45 -0500 Subject: [PATCH] Fix string interpolation in GChat release notification --- .github/workflows/perform-release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/perform-release.yml b/.github/workflows/perform-release.yml index ceb0d25..2d32fb3 100644 --- a/.github/workflows/perform-release.yml +++ b/.github/workflows/perform-release.yml @@ -120,7 +120,7 @@ jobs: ANNOUNCING_ID: ${{ inputs.slack-announcing-id }} WEBHOOK_URL: ${{ secrets.SPRING_RELEASE_GCHAT_WEBHOOK_URL }} run: | - curl -X POST '$WEBHOOK_URL' -H 'Content-Type: application/json' -d '{ text: "$ANNOUNCING_ID `$VERSION` is available now" }' || true + curl -X POST '${{ env.WEBHOOK_URL }}' -H 'Content-Type: application/json' -d '{ "text": "${{ env.ANNOUNCING_ID }} `${{ env.VERSION }}` is available now" }' || true next-development-version: name: Next Development Version runs-on: ubuntu-latest