here it is
build-develop-branch / build-branch (push) Has been skipped Details
convert-to-yml / develop-branch (push) Failing after 24s Details

This commit is contained in:
giles 2023-10-22 17:24:33 +01:00
parent 1023746a56
commit 3d6afac448
1 changed files with 15 additions and 1 deletions

View File

@ -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 }}