build/1002 -> develop/1002
build-develop-branch / build-branch (push) Successful in 29s
Details
build-develop-branch / build-branch (push) Successful in 29s
Details
This commit is contained in:
parent
d0b19cf147
commit
7ffe27e53e
|
@ -40,6 +40,12 @@ jobs:
|
|||
CI_COMMIT_MESSAGE: Development branch built to xml.
|
||||
CI_COMMIT_AUTHOR: Continuous Integration
|
||||
run: |
|
||||
git config --global user.name "${{ env.CI_COMMIT_AUTHOR }}"
|
||||
git config --global user.email "username@users.noreply.github.com"
|
||||
git add -A
|
||||
git commit -a -m "${{ github.ref_name }} -> ${{ env.BUILD_BRANCH }} "
|
||||
git checkout -b ${{ env.BUILD_BRANCH }}
|
||||
git merge --squash ${{ github.ref_name }}
|
||||
if [[ $(git diff origin/${{ env.BUILD_BRANCH }} | wc -c) -ne 0 ]]; then
|
||||
git clone ${{ github.serverUrl }}/${{ github.repository }} ../cloned
|
||||
git -C ../cloned fetch origin #--depth=1
|
||||
|
|
|
@ -4,6 +4,7 @@ on:
|
|||
pull_request:
|
||||
types:
|
||||
- closed
|
||||
- deleted
|
||||
branches:
|
||||
- 'master'
|
||||
|
||||
|
|
Loading…
Reference in New Issue