Skip to content

Conversation

@nv-alaiacano
Copy link
Contributor

@nv-alaiacano nv-alaiacano commented May 14, 2023

This sends a message to a slack webhook if the "postmerge" actions fail. It can be considered the first step of NVIDIA-Merlin/Merlin#977 - once this works (it sure is hard to test code that executes after a PR runs), I'll move the step to its own file so it can be easily reused across all of our actions and repos.

I was able to verify that it works by adding it to lint.yaml with a run clause: if: ${{ success() && github.ref == 'refs/pull/346/merge' }}, so I'm fairly confident that it will work in the postmerge actions on the main branch ref.

@nv-alaiacano nv-alaiacano added the chore Maintenance for the repository label May 14, 2023
@github-actions
Copy link

Documentation preview

https://nvidia-merlin.github.io/systems/review/pr-346

@nv-alaiacano nv-alaiacano force-pushed the laiacano/slack-notif branch from 02f48ed to 18bd6ed Compare May 15, 2023 00:10
@nv-alaiacano nv-alaiacano force-pushed the laiacano/slack-notif branch from e9dd203 to 2a5c3e1 Compare May 15, 2023 13:18
pull_request:
branches: [main]

concurrency:
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unrelated to slack notification, but should be here.

@nv-alaiacano nv-alaiacano changed the title test slack notification Send slack notification on failed GHA jobs May 15, 2023
@nv-alaiacano nv-alaiacano marked this pull request as ready for review May 15, 2023 13:50
@nv-alaiacano nv-alaiacano requested a review from jperez999 May 16, 2023 14:26
@nv-alaiacano nv-alaiacano merged commit 14cc993 into main May 16, 2023
@nv-alaiacano nv-alaiacano deleted the laiacano/slack-notif branch May 16, 2023 14:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

chore Maintenance for the repository

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants