Troubleshooting create PR step.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user