From 1f8ee6aefafa70e2d41fbd8b61a647917598c046 Mon Sep 17 00:00:00 2001 From: h1alexbel Date: Wed, 3 Jan 2024 13:19:20 +0300 Subject: [PATCH] feat(#2094) --- .github/workflows/daily.yml | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/.github/workflows/daily.yml b/.github/workflows/daily.yml index 03ded91f7e..e91fb614c5 100644 --- a/.github/workflows/daily.yml +++ b/.github/workflows/daily.yml @@ -37,11 +37,12 @@ jobs: ${SCRIPT} --max 10 --folder ${GITHUB_WORKSPACE}/eo-maven-plugin # Test eo-runtime ${SCRIPT} --max 10 --folder ${GITHUB_WORKSPACE}/eo-runtime --compilation true - # @todo #2085:90min Add GitHub action step to create an issue. - # It would be convenient to add github action step that will create an - # issue in case of any of the tests is failed. We can do it through - # create-an-issue - # action. Also, you can read about that problem in that discussion: - # - # Create an issue case the workflow fails - + report-fail: + name: Create issue on failure + needs: build + if: failure() && github.even.pull_request == null + runs-on: ubuntu-22.04 + steps: + - uses: jayqi/failed-build-issue-action@v1 + with: + github-token: ${{ secrets.GITHUB_TOKEN }}