..
convert-to-yml / develop-branch (push) Failing after 24s Details

This commit is contained in:
giles 2023-10-22 21:34:41 +01:00
parent e2811890b8
commit f853add5c0
4 changed files with 6 additions and 16 deletions

View File

@ -23,7 +23,7 @@ jobs:
run: |
curl https://dl.gitea.com/tea/0.9.2/tea-0.9.2-linux-386 --output tea
chmod +x ./tea
./tea login add -n=this --url=${{ github.server_url}} -t=${{ github.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)
rm ./tea
- name: get build branch name
@ -33,8 +33,7 @@ jobs:
echo ::set-env name=BUILD_BRANCH::${firstString/develop-/"$secondString"}
- name: GIT commit and push all changed files
env:
CI_COMMIT_MESSAGE: Continuous Integration Build Artifacts
CI_COMMIT_AUTHOR: Continuous Integration
CI_COMMIT_MESSAGE: Development branch built to xml.
run: |
git config --global user.name "${{ env.CI_COMMIT_AUTHOR }}"
git config --global user.email "username@users.noreply.github.com"

View File

@ -22,8 +22,7 @@ jobs:
path: '.'
- name: GIT commit and push all changed files
env:
CI_COMMIT_MESSAGE: Continuous Integration Build Artifacts
CI_COMMIT_AUTHOR: Continuous Integration
CI_COMMIT_MESSAGE: approved yml conveted to xml.
run: |
echo ${{ github.ref_name }}
git config --global user.name "${{ env.CI_COMMIT_AUTHOR }}"

View File

@ -26,11 +26,7 @@ jobs:
echo ::set-env name=DEVELOPMENT_BRANCH::${firstString/format-/"$secondString"}
- name: clone
run: |
git remote -v
git clone ${{ github.serverUrl }}/${{ github.repository }} ../cloned
git -C ../cloned remote -v
git -C ../cloned status
mv ../cloned/.git ..
rm -rf ../cloned
cp -r . ../cloned
@ -41,12 +37,9 @@ jobs:
rm -r .git
mv ../cloned/* .
mv ../cloned/.git .
ls -la
git status
- name: GIT commit and push all changed files
env:
CI_COMMIT_MESSAGE: Continuous Integration Build Artifacts
CI_COMMIT_AUTHOR: Continuous Integration
CI_COMMIT_MESSAGE: converted to yml for review
run: |
git config --global user.name "${{ env.CI_COMMIT_AUTHOR }}"
git config --global user.email "username@users.noreply.github.com"

View File

@ -36,8 +36,7 @@ jobs:
echo ::set-env name=BUILD_BRANCH::${firstString/develop-/"$secondString"}
- name: GIT commit and push all changed files
env:
CI_COMMIT_MESSAGE: Continuous Integration Build Artifacts
CI_COMMIT_AUTHOR: Continuous Integration
CI_COMMIT_MESSAGE: Reopened PR copnverted to xml.
run: |
git config --global user.name "${{ env.CI_COMMIT_AUTHOR }}"
git config --global user.email "username@users.noreply.github.com"