From 0b746435ea4913c67267ce68227a3d6a5403132a Mon Sep 17 00:00:00 2001 From: Ranesh Saha Date: Thu, 13 Oct 2022 06:58:14 -0700 Subject: [PATCH] Fix inability to create issue upon Publish failure (#4209) Summary: The publish job in the release workflow has been failing, but an issue has failed to be created due to the template file not being found. As per the error message, the template file isn't found because we need to check out the repo first. ## Changelog Fix problem with auto-creating issue upon publish failure. Pull Request resolved: https://github.com/facebook/flipper/pull/4209 Test Plan: Not able to run this locally, so we will need to wait upon the next release to ensure the issue gets created. Reviewed By: mweststrate Differential Revision: D40341329 Pulled By: aigoncharov fbshipit-source-id: a9ad0a52a41ca13757fdd674937a075a024f618f --- .github/workflows/release.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 183421857..1dd49e6a2 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -181,6 +181,9 @@ jobs: runs-on: ubuntu-latest steps: + - uses: actions/checkout@v2 + with: + ref: ${{ needs.release.outputs.tag }} - name: Download Mac if: ${{ needs.release.outputs.tag != '' }} uses: actions/download-artifact@v1