...
This commit is contained in:
@@ -29,7 +29,7 @@ jobs:
|
||||
echo "Setting default login to gitea-rinoa..."
|
||||
tea login default gitea-rinoa
|
||||
echo "Checking for existing PRs..."
|
||||
pr_exists=$(tea pr list --repo ${{ github.repository }} --state open --fields index,title,head | egrep ${{ github.ref_name }} | wc -l)
|
||||
pr_exists=$(tea pr list --repo ${{ github.repository }} --state open --fields index,title,head | egrep ${{ github.ref_name }} | tail -1 | wc -l)
|
||||
echo ${pr_exists}
|
||||
echo "exists=$pr_exists" >> $GITHUB_OUTPUT
|
||||
|
||||
|
||||
Reference in New Issue
Block a user