Skip to content

Commit

Permalink
fix: add missing notification
Browse files Browse the repository at this point in the history
  • Loading branch information
sigilioso committed Jul 19, 2023
1 parent 57dd2a5 commit d41a6e0
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/on_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,3 +53,15 @@ jobs:
integration: 'nri-${{ env.INTEGRATION }}' # Required, with nri- prefix
packageLocation: repo
upgrade: false

notify-failure:
if: ${{ always() && failure() }}
needs: [publish-to-s3]
runs-on: ubuntu-latest
steps:
- name: Notify failure via Slack
uses: archive/github-actions-slack@master
with:
slack-bot-user-oauth-access-token: ${{ secrets.COREINT_SLACK_TOKEN }}
slack-channel: ${{ secrets.COREINT_SLACK_CHANNEL }}
slack-text: "❌ `${{ env.ORIGINAL_REPO_NAME }}`: [release pipeline failed](${{ github.server_url }}/${{ env.ORIGINAL_REPO_NAME }}/actions/runs/${{ github.run_id }})."

0 comments on commit d41a6e0

Please sign in to comment.