Skip to content

Commit

Permalink
Second attempt at creating an issue on failure
Browse files Browse the repository at this point in the history
  • Loading branch information
andybalaam committed Oct 22, 2024
1 parent 0520f0d commit 981f1f6
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/latest-matrix-sdk-crypto.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,16 +55,15 @@ 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
- name: Open an issue on failure
if: failure()
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 }}'
if: failure()

0 comments on commit 981f1f6

Please sign in to comment.