diff --git a/.github/workflows/py-cli-e2e-tests.yml b/.github/workflows/py-cli-e2e-tests.yml index 7d2fc1ff343..4c1f78f5ea7 100644 --- a/.github/workflows/py-cli-e2e-tests.yml +++ b/.github/workflows/py-cli-e2e-tests.yml @@ -25,7 +25,7 @@ on: default: "default" env: - DEBUG: "${{ ((inputs.debug == 'default' && github.ref == 'refs/heads/main') && 'true') || (inputs.debug != 'default' && inputs.debug) || 'false' }}" + DEBUG: "${{ ((inputs.debug == 'default' && github.ref == 'refs/heads/main') && 'false') || (inputs.debug != 'default' && inputs.debug) || 'false' }}" permissions: id-token: write @@ -189,16 +189,13 @@ jobs: docker compose down --remove-orphans sudo rm -rf ${PWD}/docker-volume - - uses: austenstone/job-id@v1 - id: job-id - - name: Slack on Failure if: steps.e2e-test.outcome != 'success' && steps.python-e2e-test.outcome != 'success' && env.DEBUG == 'false' uses: slackapi/slack-github-action@v1.23.0 with: payload: | { - "text": "🔥 Failed E2E Test for: ${{ matrix.e2e-test }} 🔥\nLogs: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}/job/${{ steps.job-id.outputs.job-id }}" + "text": "🔥 Failed E2E Test for: ${{ matrix.e2e-test }} 🔥\nLogs: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}" } env: SLACK_WEBHOOK_URL: ${{ secrets.E2E_SLACK_WEBHOOK }}