.
convert-to-yml / develop-branch (push) Successful in 26s
Details
convert-to-yml / develop-branch (push) Successful in 26s
Details
This commit is contained in:
parent
5ad0a04c0d
commit
aa1192ab11
|
@ -27,6 +27,7 @@ jobs:
|
||||||
./tea login add -n=this --url=${{ github.server_url}} -t=${{ secrets.BOT_TOKEN }}
|
./tea login add -n=this --url=${{ github.server_url}} -t=${{ secrets.BOT_TOKEN }}
|
||||||
echo ::set-env name=PR::$(./tea pr ls -f=base,head,index | grep "| master | ${{ github.ref_name }} |" | tr -d ' ' | tr "|" "\n" | head -n 4 | tail -1)
|
echo ::set-env name=PR::$(./tea pr ls -f=base,head,index | grep "| master | ${{ github.ref_name }} |" | tr -d ' ' | tr "|" "\n" | head -n 4 | tail -1)
|
||||||
rm ./tea
|
rm ./tea
|
||||||
|
- run: git fetch
|
||||||
- name: get build branch name
|
- name: get build branch name
|
||||||
run: |
|
run: |
|
||||||
firstString=${{ github.ref_name }}
|
firstString=${{ github.ref_name }}
|
||||||
|
@ -39,9 +40,10 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
git config --global user.name "${{ env.CI_COMMIT_AUTHOR }}"
|
git config --global user.name "${{ env.CI_COMMIT_AUTHOR }}"
|
||||||
git config --global user.email "username@users.noreply.github.com"
|
git config --global user.email "username@users.noreply.github.com"
|
||||||
git checkout -b ${{ env.BUILD_BRANCH }}
|
|
||||||
git add -A
|
git add -A
|
||||||
git commit -a -m "${{ env.CI_COMMIT_MESSAGE }} yml files converted to xml"
|
git commit -a -m "${{ env.CI_COMMIT_MESSAGE }} yml files converted to xml"
|
||||||
|
git checkout -b ${{ env.BUILD_BRANCH }}
|
||||||
|
get merge --squash ${{ github.ref_name }}
|
||||||
git push origin HEAD:${{ env.BUILD_BRANCH }}
|
git push origin HEAD:${{ env.BUILD_BRANCH }}
|
||||||
|
|
||||||
- name: make pull request comment
|
- name: make pull request comment
|
||||||
|
|
|
@ -16,10 +16,7 @@ jobs:
|
||||||
- uses: http://sigyl.com:3000/actions/setup-node@v3
|
- uses: http://sigyl.com:3000/actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
node-version: '20'
|
node-version: '20'
|
||||||
- name: fetch
|
- run: git fetch
|
||||||
run: |
|
|
||||||
git fetch origin --depth=10
|
|
||||||
git pull
|
|
||||||
- name: log
|
- name: log
|
||||||
run: git log -10
|
run: git log -10
|
||||||
- uses: http://sigyl.com:3000/actions/batch2yaml@master
|
- uses: http://sigyl.com:3000/actions/batch2yaml@master
|
||||||
|
@ -40,4 +37,6 @@ jobs:
|
||||||
git config --global user.email "username@users.noreply.github.com"
|
git config --global user.email "username@users.noreply.github.com"
|
||||||
git add -A
|
git add -A
|
||||||
git commit -a -m "${{ env.CI_COMMIT_MESSAGE }} xml files converted to yml"
|
git commit -a -m "${{ env.CI_COMMIT_MESSAGE }} xml files converted to yml"
|
||||||
|
git checkout ${{ env.DEVELOPMENT_BRANCH }}
|
||||||
|
git merge --squash ${{ github.ref_name }}
|
||||||
git push origin HEAD:${{ env.DEVELOPMENT_BRANCH }}
|
git push origin HEAD:${{ env.DEVELOPMENT_BRANCH }}
|
||||||
|
|
Loading…
Reference in New Issue