-
Notifications
You must be signed in to change notification settings - Fork 13
Nightly build posts results to slack app #244
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
CLA Assistant Lite bot All contributors have signed the CLA ✍️ |
.github/workflows/nightly.yml
Outdated
if: always() | ||
with: | ||
status: ${{ job.status }} | ||
notify_when: 'success,failure,warnings' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can we make this only post on failure? In general I think its a good idea to only put something in the alerts channel when action is needed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah I just added the other two statuses for testing purposes, to avoid needing to trigger a failure to verify the connection works. Will remove.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We are using a different action now, but it is configured to only post to Slack in the event of an action failure.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems good to me! I like the different links in the alerts
Feel free to still get other devs opinions if you want.
https://github.com/marketplace/actions/action-slack