Merge pull request #5315 from vector-im/michaelk/notify_channel_on_sanity_test
Notify channel on sanity test result
This commit is contained in:
commit
5bfb8fe294
14
.github/workflows/sanity_test.yml
vendored
14
.github/workflows/sanity_test.yml
vendored
@ -78,3 +78,17 @@ jobs:
|
|||||||
path: |
|
path: |
|
||||||
emulator.log
|
emulator.log
|
||||||
failure_screenshots/
|
failure_screenshots/
|
||||||
|
|
||||||
|
|
||||||
|
notify:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
needs: integration-tests
|
||||||
|
if: always()
|
||||||
|
steps:
|
||||||
|
- uses: michaelkaye/matrix-hookshot-action@v0.2.0
|
||||||
|
with:
|
||||||
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
matrix_access_token: ${{ secrets.ELEMENT_ANDROID_NOTIFICATION_ACCESS_TOKEN }}
|
||||||
|
matrix_room_id: ${{ secrets.ELEMENT_ANDROID_INTERNAL_ROOM_ID }}
|
||||||
|
text_template: "Sanity test run: {{#each job_statuses }}{{#with this }}{{#if completed }} {{name}} {{conclusion}} at {{completed_at}} {{html_url}}{{/if}}{{/with}}{{/each}}"
|
||||||
|
html_template: "CI Sanity test run results: {{#each job_statuses }}{{#with this }}{{#if completed }} {{name}} {{conclusion}} at {{completed_at}} <a href=\"{{html_url}}\">[details]</a>{{/if}}{{/with}}{{/each}}"
|
||||||
|
1
changelog.d/5314.misc
Normal file
1
changelog.d/5314.misc
Normal file
@ -0,0 +1 @@
|
|||||||
|
Notify element-android channel each time a nightly build completes.
|
Loading…
Reference in New Issue
Block a user