From 79b1019b6d67fb0cd48060e645eb347702eb5a97 Mon Sep 17 00:00:00 2001 From: BowTiedWoo Date: Wed, 6 Nov 2024 16:14:40 +0200 Subject: [PATCH] remove dependency --- .github/workflows/scheduled.yaml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/scheduled.yaml b/.github/workflows/scheduled.yaml index c91daef..28a5736 100644 --- a/.github/workflows/scheduled.yaml +++ b/.github/workflows/scheduled.yaml @@ -44,17 +44,17 @@ jobs: fi - name: Create GitHub Issue on Failure - uses: jayqi/failed-build-issue-action@v1 if: ${{ failure() }} - with: - github-token: ${{ secrets.GH_TOKEN }} - label-name: "property-testing-failure" - title-template: "Property testing failure" - body-template: | - GitHub Actions workflow [{{workflow}} #{{runNumber}}](https://github.com/{{repo.owner}}/{{repo.repo}}/actions/runs/{{runId}}) Clarity::V${{ matrix.clarity_version }} failed. - ```log + env: + GH_TOKEN: ${{ secrets.GH_TOKEN }} + run: | + gh issue create \ + --title "Property testing failure" \ + --label "property-testing-failure" \ + --body "GitHub Actions workflow [${GITHUB_WORKFLOW} #${GITHUB_RUN_NUMBER}](https://github.com/${GITHUB_REPOSITORY}/actions/runs/${GITHUB_RUN_ID}) Clarity::V${{ matrix.clarity_version }} failed. + \`\`\`log ${{ env.failure_section }} - ``` + \`\`\`" - name: Send message to Slack uses: slackapi/slack-github-action@37ebaef184d7626c5f204ab8d3baff4262dd30f0 # v1.27.0