From cd6e082dcd61e5dee06fa569a06925b0a873e3b1 Mon Sep 17 00:00:00 2001 From: giles Date: Sun, 22 Oct 2023 03:13:35 +0100 Subject: [PATCH] ................ --- .gitea/workflows/build-develop-branch.yml | 2 +- .gitea/workflows/convert-to-yml.yml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/build-develop-branch.yml b/.gitea/workflows/build-develop-branch.yml index bc72dd1..cc2465e 100644 --- a/.gitea/workflows/build-develop-branch.yml +++ b/.gitea/workflows/build-develop-branch.yml @@ -20,7 +20,7 @@ jobs: run: | curl https://dl.gitea.com/tea/0.9.2/tea-0.9.2-linux-386 --output tea chmod +x ./tea - ..tea pr ls + ./tea pr ls ./tea pr ls -f=base,head,index | grep "| master | ${{ github.ref_name }} |" 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 diff --git a/.gitea/workflows/convert-to-yml.yml b/.gitea/workflows/convert-to-yml.yml index 6c2444e..aa45ed3 100644 --- a/.gitea/workflows/convert-to-yml.yml +++ b/.gitea/workflows/convert-to-yml.yml @@ -64,3 +64,4 @@ jobs: if [[ $(./tea pr ls -f=base,head | grep "| master | ${{ env.PRODUCTION_BRANCH }} |" | head -c1 | wc -c) -eq 0 ]]; then ./tea pr c --base=master --head=${{ env.PRODUCTION_BRANCH }} --description="development pull request" -t="WIP: ${{ github.event.head_commit.message }}" fi + rm ./tea