Skip to content

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

Merged
merged 9 commits into from
Feb 17, 2021

Conversation

peterbriggs42
Copy link
Contributor

@peterbriggs42 peterbriggs42 commented Feb 12, 2021

@github-actions
Copy link

github-actions bot commented Feb 12, 2021

CLA Assistant Lite bot All contributors have signed the CLA ✍️

if: always()
with:
status: ${{ job.status }}
notify_when: 'success,failure,warnings'
Copy link
Contributor

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.

Copy link
Contributor Author

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.

Copy link
Contributor Author

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.

@antazoey antazoey self-requested a review February 17, 2021 15:02
Copy link
Contributor

@antazoey antazoey left a 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.

@peterbriggs42 peterbriggs42 merged commit 3fdc7ce into master Feb 17, 2021
@peterbriggs42 peterbriggs42 deleted the feature/slack-build-notifications branch February 17, 2021 15:48
@github-actions github-actions bot locked and limited conversation to collaborators Feb 17, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants