diff --git a/.github/workflows/acceptance_tests.yml b/.github/workflows/acceptance_tests.yml index a23f3c445..5486bb755 100644 --- a/.github/workflows/acceptance_tests.yml +++ b/.github/workflows/acceptance_tests.yml @@ -30,3 +30,15 @@ jobs: - name: Test run: make acceptance-test + + - name: Slack notification on failure + uses: ravsamhq/notify-slack-action@v1 + if: always() + with: + status: ${{ job.status }} + notification_title: 'Mizu {workflow} has {status_message}' + message_format: '{emoji} *{workflow}* {status_message} during <{run_url}|run>, after commit: <{commit_url}|{commit_sha}>' + footer: 'Linked Repo <{repo_url}|{repo}>' + notify_when: 'failure' + env: + SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} diff --git a/.github/workflows/security_validation.yml b/.github/workflows/security_validation.yml deleted file mode 100644 index 2808638a8..000000000 --- a/.github/workflows/security_validation.yml +++ /dev/null @@ -1,25 +0,0 @@ -name: Security validation - -on: - pull_request: - branches: - - 'develop' - - 'main' - -jobs: - security: - name: Check for vulnerabilities - runs-on: ubuntu-latest - env: - SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }} - steps: - - uses: actions/checkout@v2 - - - uses: snyk/actions/setup@master - - name: Set up Go 1.16 - uses: actions/setup-go@v2 - with: - go-version: '1.16' - - - name: Run snyl on all projects - run: snyk test --all-projects