Skip to content

Commit

Permalink
ci: fix slack notifications job url
Browse files Browse the repository at this point in the history
  • Loading branch information
antonbaliasnikov committed Sep 24, 2024
1 parent 83c3b7d commit bbc3837
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 14 deletions.
13 changes: 0 additions & 13 deletions .github/actions/integration-tests/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,6 @@ inputs:
required: false
default: 'eravm'
description: 'Target machine passed via `--target` for era-compiler-tester. Available arguments: `eravm`, `evm`.'
slack_webhook_url:
required: true
description: 'Slack webhook URL for notifications.'

runs:
using: "composite"
Expand Down Expand Up @@ -113,13 +110,3 @@ runs:
./target/release/compiler-tester ${TARGET} ${TOOLCHAIN} ${PATH_FILTER} \
--zksolc './target-zksolc/release/zksolc' \
--zkvyper './target-zkvyper/release/zkvyper' ${{ inputs.extra-args }}
- name: Send Slack notification
uses: 8398a7/action-slack@v3
if: (failure() || success()) && (github.event_name == 'pull_request' && !github.event.pull_request.head.repo.fork)
with:
job_name: Integration Tests ${{ inputs.target-machine || 'default' }}
status: ${{ job.status }}
fields: repo,commit,author,action,eventName,ref,workflow,job,took,pullRequest
env:
SLACK_WEBHOOK_URL: ${{ inputs.slack_webhook_url }}
11 changes: 10 additions & 1 deletion .github/workflows/integration-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -114,4 +114,13 @@ jobs:
custom-solc-run-id: ${{ inputs.custom-solc-run-id }}
custom-solc-version: ${{ inputs.custom-solc-version }}
target-machine: ${{ inputs.target-machine }}
slack_webhook_url: ${{ secrets.SLACK_WEBHOOK }}

- name: Send Slack notification
uses: 8398a7/action-slack@v3
if: (failure() || success()) && (github.event_name == 'pull_request' && !github.event.pull_request.head.repo.fork)
with:
job_name: ${{ inputs.target-machine }} ${{ matrix.name }}
status: ${{ job.status }}
fields: repo,commit,author,action,eventName,ref,workflow,job,took,pullRequest
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK }}

0 comments on commit bbc3837

Please sign in to comment.