Fix slack status message on PyPI publish failure (#604)

This commit is contained in:
Eric Gustin 2025-10-06 13:10:25 -07:00 committed by GitHub
parent d74af74cef
commit ab93356e7c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -154,7 +154,7 @@ jobs:
webhook-type: webhook-trigger
payload: |
{
"status": "${{ job.status == 'failure' || job.status == 'cancelled' && 'Failed' || 'Success' }}",
"status": "${{ (job.status == 'failure' || job.status == 'cancelled') && 'Failed' || 'Success' }}",
"package": "${{ env.PACKAGE_NAME }}",
"version": "${{ env.VERSION }}",
"url": "${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}"