This commit is contained in:
2025-01-16 09:59:02 -05:00
parent e436da962c
commit dcf9b7e829
@@ -22,6 +22,7 @@ jobs:
- name: Check if open PR exists
id: check-opened-pr-step
continue-on-error: true
run: |
echo "Logging into Gitea..."
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 }}
@@ -29,6 +30,7 @@ jobs:
tea login default gitea-rinoa
echo "Checking for existing PRs..."
pr_exists=$(tea pr list --repo ${{ github.repository }} --state open | egrep ${{ github.ref_name }} | wc -l)
echo ${pr_exists}
echo "exists=$pr_exists" >> $GITHUB_OUTPUT
- name: Create PR