build/1003 -> develop/1003
build-develop-branch / build-branch (push) Successful in 30s Details

This commit is contained in:
batch-bot 2023-10-23 12:13:16 +00:00
parent d83832def4
commit a9d3932c9b
4 changed files with 13 additions and 7 deletions

View File

@ -17,8 +17,8 @@ jobs:
with: with:
node-version: '20' node-version: '20'
- run: git fetch - run: git fetch
- name: log - name: actor
run: git log -10 run: echo ${{ github.actor }}
- uses: http://sigyl.com:3000/actions/batch2yaml@master - uses: http://sigyl.com:3000/actions/batch2yaml@master
with: with:
action: yml action: yml
@ -34,7 +34,7 @@ jobs:
CI_COMMIT_AUTHOR: Continuous Integration CI_COMMIT_AUTHOR: Continuous Integration
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 "${{ env.CI_COMMIT_EMAIL }}"
git add -A git add -A
git commit -a -m "${{ github.ref_name }} -> ${{ env.DEVELOPMENT_BRANCH }}" git commit -a -m "${{ github.ref_name }} -> ${{ env.DEVELOPMENT_BRANCH }}"
- name: status - name: status
@ -44,7 +44,7 @@ jobs:
run: | run: |
git branch -r git branch -r
echo $(git branch -r | grep -Fx " origin/${{ env.DEVELOPMENT_BRANCH }}" | wc -c) echo $(git branch -r | grep -Fx " origin/${{ env.DEVELOPMENT_BRANCH }}" | wc -c)
- name: diff - name: push
env: env:
CI_COMMIT_MESSAGE: converted to yml for review. CI_COMMIT_MESSAGE: converted to yml for review.
CI_COMMIT_AUTHOR: Continuous Integration CI_COMMIT_AUTHOR: Continuous Integration
@ -67,8 +67,9 @@ jobs:
git status git status
git checkout -b ${{ env.DEVELOPMENT_BRANCH }} git checkout -b ${{ env.DEVELOPMENT_BRANCH }}
git add -A git add -A
git config --global user.name "${{ github.actor }}"
git config --global user.email "${{ env.CI_COMMIT_EMAIL }}"
git commit -a -m "${{ github.ref_name }} -> ${{ env.DEVELOPMENT_BRANCH }}" git commit -a -m "${{ github.ref_name }} -> ${{ env.DEVELOPMENT_BRANCH }}"
echo no development branch so pushing echo no development branch so pushing
git push origin HEAD:${{ env.DEVELOPMENT_BRANCH }}; git push origin HEAD:${{ env.DEVELOPMENT_BRANCH }};
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;
@ -96,6 +97,8 @@ jobs:
mv ../cloned/.git . mv ../cloned/.git .
git status git status
git add -A git add -A
git config --global user.name "${{ github.actor }}"
git config --global user.email "${{ env.CI_COMMIT_EMAIL }}"
git commit -a -m "${{ github.ref_name }} -> ${{ env.DEVELOPMENT_BRANCH }}" git commit -a -m "${{ github.ref_name }} -> ${{ env.DEVELOPMENT_BRANCH }}"
git push origin HEAD:${{ env.DEVELOPMENT_BRANCH }}; git push origin HEAD:${{ env.DEVELOPMENT_BRANCH }};
else else

View File

@ -35,7 +35,7 @@ jobs:
firstString=${{ github.ref_name }} firstString=${{ github.ref_name }}
secondString="build" secondString="build"
echo ::set-env name=BUILD_BRANCH::${firstString/develop\//"$secondString"\/} echo ::set-env name=BUILD_BRANCH::${firstString/develop\//"$secondString"\/}
- name: GIT commit and push all changed files - name: push
env: env:
CI_COMMIT_MESSAGE: Development branch built to xml. CI_COMMIT_MESSAGE: Development branch built to xml.
CI_COMMIT_AUTHOR: Continuous Integration CI_COMMIT_AUTHOR: Continuous Integration
@ -63,6 +63,8 @@ jobs:
mv ../cloned/.git . mv ../cloned/.git .
git status git status
git add -A git add -A
git config --global user.name "${{ github.actor }}"
git config --global user.email "${{ env.CI_COMMIT_EMAIL }}"
git commit -a -m "${{ github.ref_name }} -> ${{ env.BUILD_BRANCH }} " git commit -a -m "${{ github.ref_name }} -> ${{ env.BUILD_BRANCH }} "
git push origin HEAD:${{ env.BUILD_BRANCH }} git push origin HEAD:${{ env.BUILD_BRANCH }}
else else

View File

@ -4,6 +4,7 @@ on:
pull_request: pull_request:
types: types:
- closed - closed
- deleted
branches: branches:
- 'master' - 'master'

View File

@ -137,7 +137,7 @@
- RevertSignatureTemplateName: null - RevertSignatureTemplateName: null
- Description: Confirmation by the author of the recipe thatcdcscsvdsvdsvsxsxsdit is ready for h v vredcdview.s...gfhhh.... - Description: Confirmation by the author of the recipe thatcdcscsvdsvdsvsxsxsdit is ready for h v vredcdview.s...gfhhh....
- RecipeApprovalStep: - RecipeApprovalStep:
- Name: Review Recipe - Name: Reviedcdw Recipe
- Id: '-3' - Id: '-3'
- StepOrder: '3' - StepOrder: '3'
- Required: '0' - Required: '0'