File tree Expand file tree Collapse file tree 1 file changed +0
-19
lines changed Expand file tree Collapse file tree 1 file changed +0
-19
lines changed Original file line number Diff line number Diff line change 67
67
gh pr merge ${{ needs.download.outputs.pr-number }} --auto --rebase
68
68
env :
69
69
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}}
You can’t perform that action at this time.
0 commit comments