Skip to content
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

Attempt to create an issue on latest matrix-sdk build failure #151

Merged
merged 1 commit into from
Oct 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .github/latest_matrix_sdk_failed_issue_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
title: Building matrix-rust-sdk-crypto-wasm against the latest matrix-sdk Rust is failing
---
See https://github.com/{{env.GITHUB_REPOSITORY}}/actions/runs/{{env.GITHUB_RUN_ID}}

Initial failure: {{ date | date('dddd, YYYY-MM-DD HH:mm') }}
18 changes: 18 additions & 0 deletions .github/workflows/latest-matrix-sdk-crypto.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ concurrency:
env:
CARGO_TERM_COLOR: always

permissions:
contents: read
issues: write

jobs:
test-against-latest-matrix-sdk-crypto:
name: test-against-latest-matrix-sdk-crypto
Expand Down Expand Up @@ -50,3 +54,17 @@ jobs:

- name: Test the JavaScript binding
run: yarn test

open-issue-on-failure:
if: failure()
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: JasonEtco/create-an-issue@1b14a70e4d8dc185e5cc76d3bec9eab20257b2c5 # v2.9.2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
update_existing: true
filename: .github/latest_matrix_sdk_failed_issue_template.md
id: create-issue
- run: 'echo Created/updated ${{ steps.create-issue.outputs.url }}'
Loading