From be135b89cb121030ac3a670bf8c7d90708259363 Mon Sep 17 00:00:00 2001 From: Chris Guimaraes Date: Tue, 30 Jul 2024 10:39:59 +0100 Subject: [PATCH] ci: add link to the workflow --- .github/workflows/scheduled.yaml | 25 ++++++++++--------------- 1 file changed, 10 insertions(+), 15 deletions(-) diff --git a/.github/workflows/scheduled.yaml b/.github/workflows/scheduled.yaml index 399d3783..6a74da58 100644 --- a/.github/workflows/scheduled.yaml +++ b/.github/workflows/scheduled.yaml @@ -24,18 +24,13 @@ jobs: - name: Run run: cargo test --test wasm-generation --test standard - notification: - name: Notification - runs-on: ubuntu-latest - needs: property-testing - if: ${{ failure() }} - steps: - - name: Notify on Failure - uses: maxkomarychev/oction-create-issue@v0.7.1 - with: - token: ${{ secrets.GH_TOKEN }} - title: "Property testing coverage has failed" - body: "FYI & A: @stacks-network/clarity-wasm" - labels: - - testing - - property-testing + - name: Add link to the failure issue + uses: jayqi/failed-build-issue-action@v1 + if: ${{ failure() }} + with: + github-token: ${{ secrets.GH_TOKEN }} + label-name: "property-testing-failure" + title-template: "Property testing coverage has failed" + body-template: | + FYI & A: @stacks-network/clarity-wasm + GitHub Actions workflow [{{workflow}} #{{runNumber}}](https://github.com/{{repo.owner}}/{{repo.repo}}/actions/runs/{{runId}}) failed.