File tree 1 file changed +21
-3
lines changed
1 file changed +21
-3
lines changed Original file line number Diff line number Diff line change 81
81
--head ${{ needs.configure-branch-name.outputs.gh_head_ref }} \
82
82
--repo ${{ github.repository_owner }}/refinery-${{ matrix.parent_image_type }}-parent-image || true
83
83
84
-
85
84
gh-delete-submodule-branches :
86
- name : ' GitHub: Delete Branch'
85
+ name : ' GitHub: Delete Submodule Branch'
87
86
needs : [pi-matrix, pi-update-submodule]
88
87
if : ${{ !failure() }}
89
88
runs-on : ubuntu-latest
98
97
99
98
- name : Delete Branch
100
99
shell : bash
101
- run : git push origin --delete ${{ github.event.pull_request.head.ref }}
100
+ run : git push origin --delete ${{ github.event.pull_request.head.ref }}
101
+
102
+ gh-delete-app-branches :
103
+ name : ' GitHub: Delete App Branch'
104
+ needs : [configure-branch-name, pi-matrix, gh-delete-submodule-branches]
105
+ if : ${{ !failure() }}
106
+ runs-on : ubuntu-latest
107
+ strategy :
108
+ matrix :
109
+ include : ${{ fromJson(needs.pi-matrix.outputs.include) }}
110
+ steps :
111
+ - name : Checkout repository
112
+ uses : actions/checkout@v4
113
+ with :
114
+ token : ${{ secrets.GH_TOKEN }}
115
+ repository : ${{ github.repository_owner }}/${{ matrix.app }}
116
+
117
+ - name : Delete Branch
118
+ shell : bash
119
+ run : git push origin --delete ${{ needs.configure-branch-name.outputs.gh_head_ref }} || true
You can’t perform that action at this time.
0 commit comments