...
This commit is contained in:
@@ -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'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user