diff --git a/.gitea/workflows/deployment.yml b/.gitea/workflows/deployment.yml index 571c9d10..8c660bad 100644 --- a/.gitea/workflows/deployment.yml +++ b/.gitea/workflows/deployment.yml @@ -26,8 +26,7 @@ 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 list repo ${{ github.repository }} --state open --head ${{ github.ref_name }} | wc -l - pr_exists=$(tea pr list repo ${{ github.repository }} --state open --head ${{ github.ref_name }} | wc -l) + pr_exists=$(tea pr list --repo ${{ github.repository }} --state open --head ${{ github.ref_name }} | wc -l) echo "exists=$pr_exists" >> $GITHUB_OUTPUT - name: Create PR