Skip to content

Commit

Permalink
trigger workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
DimitrisJim committed Nov 2, 2023
1 parent 8bdb7a0 commit cdf9022
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/e2e-test-workflow-call.yml
Original file line number Diff line number Diff line change
Expand Up @@ -200,8 +200,14 @@ jobs:
retention-days: 5

slack-notify:
runs-on: ubuntu-latest
needs: e2e-tests
uses: ./.github/workflows/slack-notify.yaml
secrets:
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
if: ${{ always() && needs.e2e-tests.result == 'failure' && inputs.slack-notify }}
steps:
- name: Slack Notification
uses: 8398a7/action-slack@v3
with:
status: 'failure'
fields: repo,message,commit,author,action,eventName,ref,workflow,job,took,pullRequest
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK }}
2 changes: 1 addition & 1 deletion .github/workflows/e2e-upgrade.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ jobs:
test-entry-point: "TestUpgradeTestSuite"
test: "TestIBCChainUpgrade"
upload-logs: true
relayer-type: hermes
slack-notify: true
relayer-type: hermes

upgrade-v7-hermes:
uses: ./.github/workflows/e2e-test-workflow-call.yml
Expand Down

0 comments on commit cdf9022

Please sign in to comment.