Skip to content

Commit 2891503

Browse files
committed
Add matrix ping to CI job
1 parent 2599a27 commit 2891503

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

.github/workflows/latest-matrix-sdk-crypto.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,9 @@ jobs:
6565
filename: .github/latest_matrix_sdk_failed_issue_template.md
6666
id: create-issue
6767

68+
- run: 'echo Created/updated ${{ steps.create-issue.outputs.url }}'
69+
if: failure()
70+
6871
- name: Comment on the issue
6972
if: failure()
7073
uses: thollander/actions-comment-pull-request@v3
@@ -74,14 +77,11 @@ jobs:
7477
See https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}/job/${{ github.job }}
7578
pr-number: "${{ steps.create-issue.outputs.number }}"
7679

77-
- run: 'echo Created/updated ${{ steps.create-issue.outputs.url }}'
80+
- name: Ping matrix room on failure
7881
if: failure()
79-
80-
# - name: Ping matrix room on failure
81-
# if: failure()
82-
# uses: fjogeleit/http-request-action@v1
83-
# with:
84-
# url: 'https://element.ems.host/hookshot/webhook/266e410d-0cb4-4f59-8f56-b063665d3ea0'
85-
# method: 'POST'
86-
# customHeaders: '{"Content-Type": "application/json"}'
87-
# data: '{"text": "matrix-rust-sdk-crypto-wasm is failing to build against the latest matrix-sdk Rust code. See ${{ steps.create-issue.outputs.url }}"}'
82+
uses: fjogeleit/http-request-action@v1
83+
with:
84+
url: 'https://element.ems.host/hookshot/webhook/4bbf3b21-e94a-4a97-8a09-c0e03a6de173'
85+
method: 'POST'
86+
customHeaders: '{"Content-Type": "application/json"}'
87+
data: '{"text": "matrix-rust-sdk-crypto-wasm is failing to build against the latest matrix-sdk Rust code. See ${{ steps.create-issue.outputs.url }}"}'

0 commit comments

Comments
 (0)