........
convert-to-yml / develop-branch (push) Successful in 31s Details

This commit is contained in:
giles 2023-10-23 11:06:43 +01:00
parent 3b8cc6b4f0
commit 528fd071f1
1 changed files with 1 additions and 0 deletions

View File

@ -26,6 +26,7 @@ jobs:
chmod +x ./tea chmod +x ./tea
./tea login add -n=this --url=${{ github.server_url}} -t=${{ secrets.BOT_TOKEN }} ./tea login add -n=this --url=${{ github.server_url}} -t=${{ secrets.BOT_TOKEN }}
./tea pr ls -f=base,head,index ./tea pr ls -f=base,head,index
./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) 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 rm ./tea
echo PR: $PR echo PR: $PR