From fa8d05fe93c1e6f0ec72a3f7ffb14c97cdad0326 Mon Sep 17 00:00:00 2001 From: paketo-bot Date: Wed, 4 Oct 2023 02:07:22 +0000 Subject: [PATCH] Updating github-config --- .github/workflows/approve-bot-pr.yml | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/.github/workflows/approve-bot-pr.yml b/.github/workflows/approve-bot-pr.yml index 3f45a3d7..c798e647 100644 --- a/.github/workflows/approve-bot-pr.yml +++ b/.github/workflows/approve-bot-pr.yml @@ -67,22 +67,3 @@ jobs: gh pr merge ${{ needs.download.outputs.pr-number }} --auto --rebase env: GITHUB_TOKEN: ${{ secrets.PAKETO_BOT_GITHUB_TOKEN }} - - failure: - name: Alert on Failure - runs-on: ubuntu-22.04 - needs: [download, approve] - if: ${{ always() && needs.download.result == 'failure' || needs.approve.result == 'failure' }} - steps: - - name: File Failure Alert Issue - uses: paketo-buildpacks/github-config/actions/issue/file@main - with: - token: ${{ secrets.GITHUB_TOKEN }} - repo: ${{ github.repository }} - label: "failure:approve-bot-pr" - comment_if_exists: true - issue_title: "Failure: Approve bot PR workflow" - issue_body: | - Approve bot PR workflow [failed](https://github.com/${{github.repository}}/actions/runs/${{github.run_id}}). - comment_body: | - Another failure occurred: https://github.com/${{github.repository}}/actions/runs/${{github.run_id}}