From 6c060f289790c203e085af9a6d43d47a03070b40 Mon Sep 17 00:00:00 2001 From: Continuous Integration Date: Sun, 22 Oct 2023 18:51:51 +0000 Subject: [PATCH] Continuous Integration Build Artifacts xml files converted to yml --- .gitea/workflows/build-develop-branch.yml | 4 +++- .gitea/workflows/convert-to-xml.yml | 4 +++- .gitea/workflows/convert-to-yml.yml | 2 ++ .gitea/workflows/pr-closed.yml | 2 ++ 4 files changed, 10 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/build-develop-branch.yml b/.gitea/workflows/build-develop-branch.yml index 901ff1e..7d42089 100644 --- a/.gitea/workflows/build-develop-branch.yml +++ b/.gitea/workflows/build-develop-branch.yml @@ -10,6 +10,8 @@ jobs: steps: # https://github.com/RouxAntoine/checkout/tree/v3.5.4 - uses: http://sigyl.com:3000/actions/checkout@v3.5.4 + with: + token: ${{ secrets.BOT_TOKEN }} - uses: http://sigyl.com:3000/actions/setup-node@v3 with: node-version: '20' @@ -45,5 +47,5 @@ jobs: run: | curl https://dl.gitea.com/tea/0.9.2/tea-0.9.2-linux-386 --output tea chmod +x ./tea - ./tea c $PR "this branch has been built on [${{ env.BUILD_BRANCH }}](https://sigyl.com/git/another-user/batch-example/src/branch/build-yet-another)" + ./tea c $PR "this branch has been built on [${{ env.BUILD_BRANCH }}](${{ github.serverUrl }}/${{ github.repository }}/src/branch/${{ env.BUILD_BRANCH }})" \ No newline at end of file diff --git a/.gitea/workflows/convert-to-xml.yml b/.gitea/workflows/convert-to-xml.yml index df73c83..2d45382 100644 --- a/.gitea/workflows/convert-to-xml.yml +++ b/.gitea/workflows/convert-to-xml.yml @@ -9,6 +9,8 @@ jobs: runs-on: ubuntu-latest steps: - uses: http://sigyl.com:3000/actions/checkout@v3.5.4 + with: + token: ${{ secrets.BOT_TOKEN }} - name: ls run: ls - uses: actions/setup-node@v3 @@ -28,4 +30,4 @@ jobs: git config --global user.email "username@users.noreply.github.com" git add -A git commit -a -m "${{ env.CI_COMMIT_MESSAGE }} yml files converted to xml" - -f origin HEAD:refs/heads/deployed-${{ github.ref_name }} + git push -f origin HEAD:refs/heads/deployed-${{ github.ref_name }} diff --git a/.gitea/workflows/convert-to-yml.yml b/.gitea/workflows/convert-to-yml.yml index 0baa48e..1ca6f2a 100644 --- a/.gitea/workflows/convert-to-yml.yml +++ b/.gitea/workflows/convert-to-yml.yml @@ -10,6 +10,8 @@ jobs: steps: # https://github.com/RouxAntoine/checkout/tree/v3.5.4 - uses: http://sigyl.com:3000/actions/checkout@v3.5.4 + with: + token: ${{ secrets.BOT_TOKEN }} - uses: http://sigyl.com:3000/actions/setup-node@v3 with: node-version: '20' diff --git a/.gitea/workflows/pr-closed.yml b/.gitea/workflows/pr-closed.yml index 488c2d7..c581cdf 100644 --- a/.gitea/workflows/pr-closed.yml +++ b/.gitea/workflows/pr-closed.yml @@ -11,6 +11,8 @@ jobs: runs-on: ubuntu-latest steps: - uses: http://sigyl.com:3000/actions/checkout@v3.5.4 + with: + token: ${{ secrets.BOT_TOKEN }} - name: on-merge run: | echo The PR was merged into ${{ github.event.pull_request.base.ref }} from ${{ github.ref_name }} from ${{ github.ref }} type ${{ github.ref_type }}