This commit is contained in:
2025-01-08 17:27:37 -05:00
parent 6f2b67f7a7
commit 1419015207
+1 -2
View File
@@ -28,7 +28,6 @@ jobs:
id: list-prs
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 --repo ${{ gitea.repository }} --state all --output yaml
echo "pr_state=$(tea pr ls --repo ${{ gitea.repository }} --state open --output yaml | yq '.[].state')" >> $GITHUB_OUTPUT
@@ -36,7 +35,7 @@ jobs:
if: steps.list-prs.outputs.pr_state != '"open"'
uses: arifer612/Gitea-PR-action@v1.2.0
with:
url: ${{ gitea.server_url }}
url: ${{ github.server_url }}
token: ${{ secrets.BOT_GITEA_TOKEN }}
pr-label: 'auto-deploy-pr'