From 522d9f18ef2dc6a0d133affb6cd13a5d2805c42e Mon Sep 17 00:00:00 2001 From: AlexandreBelling Date: Wed, 15 Jan 2025 09:48:45 +0100 Subject: [PATCH] chores(ci): deactivate the slack notification for prover-ci (#546) * chores(ci): deactivate the slack notification for prover-ci * Update .github/workflows/prover-testing.yml --------- Signed-off-by: AlexandreBelling Co-authored-by: kyzooghost <73516204+kyzooghost@users.noreply.github.com> --- .github/workflows/prover-testing.yml | 56 +--------------------------- 1 file changed, 1 insertion(+), 55 deletions(-) diff --git a/.github/workflows/prover-testing.yml b/.github/workflows/prover-testing.yml index 29780c57e..692c9493b 100644 --- a/.github/workflows/prover-testing.yml +++ b/.github/workflows/prover-testing.yml @@ -1,13 +1,6 @@ name: Prover testing CI -on: - workflow_call: - secrets: - SLACK_WEBHOOK_CI_PROVER_FAIL: - required: true - SLACK_WEBHOOK_CI_PROVER_SUCCESS: - required: true - +on: workflow_call env: GOPROXY: "https://proxy.golang.org" @@ -93,50 +86,3 @@ jobs: if: matrix.go-version == '1.20.x' run: | go test -p=1 -tags=nocorset,fuzzlight -timeout=30m -short -race ./... - - slack-workflow-status-failed: - if: failure() - name: Prover notify slack - needs: - - staticcheck - - test - runs-on: [self-hosted, ubuntu-20.04, X64, small] - steps: - - name: Notify slack -- workflow failed - id: slack - uses: slackapi/slack-github-action@v1.23.0 - with: - payload: | - { - "actor": "${{ github.actor }}", - "repo": "${{ github.repository }}", - "status": "FAIL", - "title": "${{ github.event.pull_request.title }}", - "pr": "${{ github.event.pull_request.head.ref }}" - } - env: - SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_CI_PROVER_FAIL }} - - slack-workflow-status-success: - if: success() - name: Prover notify slack - needs: - - staticcheck - - test - runs-on: [self-hosted, ubuntu-20.04, X64, small] - steps: - - name: Notify slack -- workflow succeeded - id: slack - uses: slackapi/slack-github-action@v1.23.0 - with: - payload: | - { - "actor": "${{ github.actor }}", - "repo": "${{ github.repository }}", - "status": "SUCCESS", - "title": "${{ github.event.pull_request.title }}", - "pr": "${{ github.event.pull_request.head.ref }}" - } - env: - SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_CI_PROVER_SUCCESS }} -