kdjdjdjdjdjdjd
convert-to-yml / develop-branch (push) Successful in 33s Details

This commit is contained in:
giles 2023-10-23 11:44:30 +01:00
parent b290a169d3
commit 895e213189
1 changed files with 2 additions and 2 deletions

View File

@ -27,9 +27,9 @@ jobs:
./tea login add -n=this --url=${{ github.server_url}} -t=${{ secrets.BOT_TOKEN }}
./tea pr ls -f=base,head,index -o csv
echo here
echo $(./tea pr ls -f=base,head,index | grep "| master | ${{ github.ref_name }} |")
echo $(./tea pr ls -f=base,head,index -o csv | grep "\"master\",\"${{ github.ref_name }}\")
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)
echo ::set-env name=PR::$(./tea pr ls -f=base,head,index -o csv | grep "\"master\",\"${{ github.ref_name }}\" | tr -d ' ' | tr "," "\n" | head -n 4 | tail -1)
rm ./tea
echo PR: $PR
- run: git fetch