From c1d421ec0f1e72393a850d8a37f4784fb2ddb174 Mon Sep 17 00:00:00 2001 From: giles Date: Mon, 23 Oct 2023 11:20:51 +0100 Subject: [PATCH] kkk --- .gitea/workflows/build->develop.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.gitea/workflows/build->develop.yml b/.gitea/workflows/build->develop.yml index e451947..bff521e 100644 --- a/.gitea/workflows/build->develop.yml +++ b/.gitea/workflows/build->develop.yml @@ -43,6 +43,18 @@ jobs: CI_COMMIT_AUTHOR: Continuous Integration run: | git branch -r + - name: get PR number + 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=${{ secrets.BOT_TOKEN }} + ./tea pr ls -f=base,head,index + echo here + ./tea pr ls -f=base,head,index | grep "whynot" + echo i did it + #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 + #echo PR: $PR - name: diff env: CI_COMMIT_MESSAGE: converted to yml for review.