Create issue on publish failure (#3071)
Summary: We've done this for the "release" part of the workflow before but need to handle the "publish" branch separately. Pull Request resolved: https://github.com/facebook/flipper/pull/3071 Test Plan: _eyes Reviewed By: nikoant Differential Revision: D32532348 Pulled By: passy fbshipit-source-id: 622ed99ba509d4eaf7671e9b6ff3adbab277ab4e
This commit is contained in:
committed by
Facebook GitHub Bot
parent
a279b9bc43
commit
dbe9106762
11
.github/workflows/release.yml
vendored
11
.github/workflows/release.yml
vendored
@@ -184,7 +184,16 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
created_tag: ${{ needs.release.outputs.tag }}
|
created_tag: ${{ needs.release.outputs.tag }}
|
||||||
args: Flipper-mac.dmg Flipper-linux.zip Flipper-win.zip
|
args: Flipper-mac.dmg Flipper-linux.zip 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: "Publish"
|
||||||
|
with:
|
||||||
|
filename: .github/action-failure-template.md
|
||||||
dispatch:
|
dispatch:
|
||||||
needs:
|
needs:
|
||||||
- release
|
- release
|
||||||
|
|||||||
Reference in New Issue
Block a user