diff --git a/.github/workflows/sanity_test.yml b/.github/workflows/sanity_test.yml index 483926fa1f..b28bd20b24 100644 --- a/.github/workflows/sanity_test.yml +++ b/.github/workflows/sanity_test.yml @@ -78,3 +78,17 @@ jobs: path: | emulator.log 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}} [details]{{/if}}{{/with}}{{/each}}" diff --git a/changelog.d/5314.misc b/changelog.d/5314.misc new file mode 100644 index 0000000000..35fed08a61 --- /dev/null +++ b/changelog.d/5314.misc @@ -0,0 +1 @@ +Notify element-android channel each time a nightly build completes.