From c4fe39f413faecd669f6a730d1dbaf77f0057da4 Mon Sep 17 00:00:00 2001 From: Pascal Hartig Date: Tue, 9 Nov 2021 04:07:51 -0800 Subject: [PATCH] Add failure issue tracking for release task (#3025) Summary: This failed without giving us a notification. Pull Request resolved: https://github.com/facebook/flipper/pull/3025 Reviewed By: nikoant Differential Revision: D32246987 Pulled By: mweststrate fbshipit-source-id: da04b5d8e7e50480bdb0e0a5b55d387b0b23eced --- .github/workflows/release.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 52c6b7633..8b1c98587 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -138,6 +138,16 @@ jobs: with: name: 'Flipper-win.zip' path: 'dist/Flipper-win.zip' + - name: Open issue on failure + if: failure() + uses: JasonEtco/create-an-issue@v2.4.0 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + REPOSITORY: ${{ github.repository }} + RUN_ID: ${{ github.run_id }} + WORKFLOW_NAME: "Release" + with: + filename: .github/action-failure-template.md publish: needs: