From e2811890b81eb467d58cde3a69843e6783ec6082 Mon Sep 17 00:00:00 2001 From: giles Date: Sun, 22 Oct 2023 21:28:08 +0100 Subject: [PATCH] .. --- .gitea/workflows/convert-to-yml.yml | 2 +- .gitea/workflows/pr-closed.yml | 4 ++-- .gitea/workflows/pr-reopened.yml | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.gitea/workflows/convert-to-yml.yml b/.gitea/workflows/convert-to-yml.yml index 9433e21..2343ad1 100644 --- a/.gitea/workflows/convert-to-yml.yml +++ b/.gitea/workflows/convert-to-yml.yml @@ -76,7 +76,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 }} if [[ $(./tea pr ls -f=base,head | grep "| master | ${{ env.DEVELOPMENT_BRANCH }} |" | head -c1 | wc -c) -eq 0 ]]; then ./tea pr c --base=master --head=${{ env.DEVELOPMENT_BRANCH }} --description="development pull request" -t="WIP: ${{ github.event.head_commit.message }}" fi diff --git a/.gitea/workflows/pr-closed.yml b/.gitea/workflows/pr-closed.yml index df504d1..1cd48b8 100644 --- a/.gitea/workflows/pr-closed.yml +++ b/.gitea/workflows/pr-closed.yml @@ -20,7 +20,7 @@ jobs: continue-on-error: true - uses: mainmatter/continue-on-error-comment@v1 with: - repo-token: ${{ github.token }} + repo-token: ${{ secrets.BOT_TOKEN }} outcome: ${{ steps.delete_develop_branch.outcome }} test-id: Error code ${{ matrix.code }} - name: get build branch name @@ -41,7 +41,7 @@ jobs: continue-on-error: true - uses: mainmatter/continue-on-error-comment@v1 with: - repo-token: ${{ github.token }} + repo-token: ${{ secrets.BOT_TOKEN }} outcome: ${{ steps.delete_develop_branch.outcome }} test-id: Error code ${{ matrix.code }} - name: get build branch name diff --git a/.gitea/workflows/pr-reopened.yml b/.gitea/workflows/pr-reopened.yml index 977a062..fe16709 100644 --- a/.gitea/workflows/pr-reopened.yml +++ b/.gitea/workflows/pr-reopened.yml @@ -26,7 +26,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