Added --repo flag for tea CLI.

This commit is contained in:
2025-01-08 17:23:00 -05:00
parent 478699475e
commit 6f2b67f7a7
+2 -2
View File
@@ -29,8 +29,8 @@ jobs:
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 }}
tea login default gitea-rinoa
tea pr ls --state all --output yaml
echo "pr_state=$(tea pr ls --state open --output yaml | yq '.[].state')" >> $GITHUB_OUTPUT
tea pr ls --repo ${{ gitea.repository }} --state all --output yaml
echo "pr_state=$(tea pr ls --repo ${{ gitea.repository }} --state open --output yaml | yq '.[].state')" >> $GITHUB_OUTPUT
- name: Create PR
if: steps.list-prs.outputs.pr_state != '"open"'