diff --git a/.github/workflows/release-on-version-change.yml b/.github/workflows/release-on-version-change.yml index 49159f9f..08cf34c9 100644 --- a/.github/workflows/release-on-version-change.yml +++ b/.github/workflows/release-on-version-change.yml @@ -144,10 +144,12 @@ jobs: if: always() uses: slackapi/slack-github-action@v2.0.0 with: - webhook: ${{ secrets.SLACK_WEBHOOK_URL }} + webhook: ${{ secrets.PACKAGE_RELEASE_SLACK_WEBHOOK_URL }} webhook-type: webhook-trigger payload: | - status: "${{ (steps.pypi-publish.outcome == 'failure' || steps.pypi-publish.outcome == 'failure') && 'Failed' || 'Success' }}" - toolkit: ${{ env.PACKAGE_NAME }} - version: ${{ env.VERSION }} - url: "${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}" + { + "status": "${{ (steps.pypi-publish.outcome == 'failure' || steps.pypi-publish.outcome == 'failure') && 'Failed' || 'Success' }}", + "package": "${{ env.PACKAGE_NAME }}", + "version": "${{ env.VERSION }}", + "url": "${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}" + }