Debugging PR list step.

This commit is contained in:
2024-12-26 17:57:20 -05:00
parent 183098a611
commit 8aef56e8e8
+2 -2
View File
@@ -20,8 +20,8 @@ jobs:
curl -sSL https://dl.gitea.com/tea/main/tea-main-linux-amd64 -o /usr/local/bin/tea
chmod +x /usr/local/bin/tea
echo "Listing PRs..."
tea login add --name gitea-rinoa --url "${{ vars.RINOA_GITEA_URL }}" --user gitea-sonarqube-bot --password "${{ secrets.BOT_GITEA_PASSWORD }}" --token "${{ secrets.BOT_GITEA_TOKEN }}"
tea pr ls --state open --output csv | egrep -q 'open'
tea login add --name gitea-rinoa --url ${{ vars.RINOA_GITEA_URL }} --user gitea-sonarqube-bot --password ${{ secrets.BOT_GITEA_PASSWORD }} --token "${{ secrets.BOT_GITEA_TOKEN }}"
tea pr ls --state open --output csv
- name: Create PR
if: steps.list-prs.outputs.list_exit != 0