here it is
This commit is contained in:
parent
1023746a56
commit
3d6afac448
|
@ -42,4 +42,18 @@ jobs:
|
|||
repo-token: ${{ secrets.TEA_TOKEN }}
|
||||
outcome: ${{ steps.delete_build_branch.outcome }}
|
||||
test-id: Error code ${{ matrix.code }}
|
||||
|
||||
- name: get build format branch name
|
||||
run: |
|
||||
firstString=${{ github.head_ref }}
|
||||
secondString="format-"
|
||||
echo ::set-env name=FORMAT_BRANCH::${firstString/develop-/"$secondString"}
|
||||
- name: delete format branch
|
||||
id: delete_format_branch
|
||||
run: git push origin --delete ${{ env.FORMAT_BRANCH }}
|
||||
continue-on-error: true
|
||||
- uses: mainmatter/continue-on-error-comment@v1
|
||||
with:
|
||||
repo-token: ${{ secrets.TEA_TOKEN }}
|
||||
outcome: ${{ steps.delete_format_branch.outcome }}
|
||||
test-id: Error code ${{ matrix.code }}
|
||||
|
Loading…
Reference in New Issue