mirror of
https://github.com/vacp2p/linea-monorepo.git
synced 2026-01-09 20:27:58 -05:00
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 <alexandrebelling8@gmail.com> Co-authored-by: kyzooghost <73516204+kyzooghost@users.noreply.github.com>
This commit is contained in:
56
.github/workflows/prover-testing.yml
vendored
56
.github/workflows/prover-testing.yml
vendored
@@ -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 }}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user