diff --git a/.github/workflows/run-api-test.yml b/.github/workflows/run-api-test.yml index bb62d59187..77cc9c9a15 100644 --- a/.github/workflows/run-api-test.yml +++ b/.github/workflows/run-api-test.yml @@ -160,7 +160,6 @@ jobs: echo "Exit code $LAST_EXIT_CODE is in the excluded list, doing nothing." fi - run: | - curl -X POST \ + curl --location "${{ secrets.SLACK_WEBHOOK_URL }}" -X POST \ --header 'Content-type: application/json' \ - --data "{\"text\": \":si: Failed API Tests for ${{ inputs.environment }}: \"}" \ - ${{ env.SLACK_WEBHOOK_URL }} + --data "{\"text\": \":si: Failed API Tests for ${{ inputs.environment }}: \"}"