From 5522ae8c5c2f2c0142eb61d69cc4c40676f8307b Mon Sep 17 00:00:00 2001 From: Isaac Springer Date: Wed, 31 Mar 2021 21:43:58 -0500 Subject: [PATCH] add cleanup --- .github/workflows/on_tag.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/on_tag.yml b/.github/workflows/on_tag.yml index 2297526..eb3a228 100644 --- a/.github/workflows/on_tag.yml +++ b/.github/workflows/on_tag.yml @@ -67,3 +67,11 @@ jobs: token: ${{ secrets.ONYXHAT_PAT }} prerelease: false allowUpdates: true + + - name: Rollback Release + uses: author/action-rollback@1.0.0 + if: failure() + with: + tag: ${{ env.CI_REF_NAME }} + env: + GITHUB_TOKEN: ${{ secrets.ONYXHAT_PAT }} \ No newline at end of file