-
Notifications
You must be signed in to change notification settings - Fork 767
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
Notify channel on sanity test result #5315
Conversation
Matrix SDKIntegration Tests Results:
|
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.
💯
@@ -78,3 +78,17 @@ jobs: | |||
path: | | |||
emulator.log | |||
failure_screenshots/ | |||
|
|||
|
|||
notify: |
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.
what happens if the matrix secret is empty? thinking of what will happen for forks~ (if they have actions enabled)
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.
The code handles empty string as a requirement not to send the request; the information will be debugged in the task but not sent anywhere.
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.
I haven't tested this explicitly, though I have tested by setting the secrets to invalid values.
Type of change
Content
Github workflow has been enhanced with a notification to the correct matrix channel.
Configuration is via secrets for channel, matrix token, but the message body is templatable in the workflow file if required.
Motivation and context
Fixes #5314
Screenshots / GIFs
Tests
michaelk/gha_experiment branch has been running this code on push and the notification worked.
Tested devices
N/A
Checklist