Skip to content

Commit 5ffedbe

Browse files
committed
Updating github-config
1 parent 004cb44 commit 5ffedbe

File tree

1 file changed

+0
-19
lines changed

1 file changed

+0
-19
lines changed

.github/workflows/approve-bot-pr.yml

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -67,22 +67,3 @@ jobs:
6767
gh pr merge ${{ needs.download.outputs.pr-number }} --auto --rebase
6868
env:
6969
GITHUB_TOKEN: ${{ secrets.PAKETO_BOT_GITHUB_TOKEN }}
70-
71-
failure:
72-
name: Alert on Failure
73-
runs-on: ubuntu-22.04
74-
needs: [download, approve]
75-
if: ${{ always() && needs.download.result == 'failure' || needs.approve.result == 'failure' }}
76-
steps:
77-
- name: File Failure Alert Issue
78-
uses: paketo-buildpacks/github-config/actions/issue/file@main
79-
with:
80-
token: ${{ secrets.GITHUB_TOKEN }}
81-
repo: ${{ github.repository }}
82-
label: "failure:approve-bot-pr"
83-
comment_if_exists: true
84-
issue_title: "Failure: Approve bot PR workflow"
85-
issue_body: |
86-
Approve bot PR workflow [failed](https://github.com/${{github.repository}}/actions/runs/${{github.run_id}}).
87-
comment_body: |
88-
Another failure occurred: https://github.com/${{github.repository}}/actions/runs/${{github.run_id}}

0 commit comments

Comments
 (0)