From 9930cfad6f17dd69316aee36244ccc98e2dee791 Mon Sep 17 00:00:00 2001 From: giles Date: Sun, 22 Oct 2023 03:18:18 +0100 Subject: [PATCH] ................ --- .gitea/workflows/build-develop-branch.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.gitea/workflows/build-develop-branch.yml b/.gitea/workflows/build-develop-branch.yml index 73b32f7..fb8018f 100644 --- a/.gitea/workflows/build-develop-branch.yml +++ b/.gitea/workflows/build-develop-branch.yml @@ -23,6 +23,10 @@ jobs: ./tea login add -n=this --url=${{ github.server_url}} -t=${{ secrets.TEA_TOKEN }} ./tea pr ls ./tea pr ls -f=base,head,index | grep "| master | ${{ github.ref_name }} |" + ./tea pr ls -f=base,head,index | grep "| master | ${{ github.ref_name }} |" | tr -d ' ' + ./tea pr ls -f=base,head,index | grep "| master | ${{ github.ref_name }} |" | tr -d ' ' | tr "|" "\n" + ./tea pr ls -f=base,head,index | grep "| master | ${{ github.ref_name }} |" | tr -d ' ' | tr "|" "\n" | head -n 4 | + ./tea pr ls -f=base,head,index | grep "| master | ${{ github.ref_name }} |" | tr -d ' ' | tr "|" "\n" | head -n 4 | tail -1 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