Added --repo flag for tea CLI.
This commit is contained in:
@@ -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"'
|
||||
|
||||
Reference in New Issue
Block a user