........
convert-to-yml / develop-branch (push) Successful in 32s
Details
convert-to-yml / develop-branch (push) Successful in 32s
Details
This commit is contained in:
parent
7a5f9d416e
commit
3b8cc6b4f0
|
@ -46,8 +46,11 @@ jobs:
|
||||||
git commit -a -m "${{ github.ref_name }} -> ${{ env.BUILD_BRANCH }} "
|
git commit -a -m "${{ github.ref_name }} -> ${{ env.BUILD_BRANCH }} "
|
||||||
git checkout -b ${{ env.BUILD_BRANCH }}
|
git checkout -b ${{ env.BUILD_BRANCH }}
|
||||||
git merge --squash ${{ github.ref_name }}
|
git merge --squash ${{ github.ref_name }}
|
||||||
git push -f origin HEAD:${{ env.BUILD_BRANCH }}
|
if [[ $(git diff origin/${{ env.BUILD_BRANCH }} | wc -c) -ne 0 ]]; then
|
||||||
|
git push -f origin HEAD:${{ env.BUILD_BRANCH }}
|
||||||
|
else
|
||||||
|
echo 'no changes so no push'
|
||||||
|
fi;
|
||||||
- name: make pull request comment
|
- name: make pull request comment
|
||||||
run: |
|
run: |
|
||||||
curl https://dl.gitea.com/tea/0.9.2/tea-0.9.2-linux-386 --output tea
|
curl https://dl.gitea.com/tea/0.9.2/tea-0.9.2-linux-386 --output tea
|
||||||
|
|
Loading…
Reference in New Issue