Troubleshooting create PR step.

This commit is contained in:
2025-01-09 14:33:34 -05:00
parent 5e2491929c
commit a1e3cd9196
+1
View File
@@ -25,6 +25,7 @@ jobs:
id: list-prs
run: |
tea login add --name gitea-rinoa --url ${{ secrets.RINOA_GITEA_URL }} --user gitea-sonarqube-bot --password "${{ secrets.BOT_GITEA_PASSWORD }}" --token ${{ secrets.BOT_GITEA_TOKEN }}
which tea
tea login default gitea-rinoa
pr_state=$(tea pr ls --repo ${{ github.repository }} --state open --fields index,title,head,state --output csv | egrep ${{ gitea.ref_name }} | awk -F, '{print $4}' | sed -e 's|"||g')
if [ "${pr_state}" != open ]; then