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.