...
This commit is contained in:
@@ -23,8 +23,11 @@ jobs:
|
||||
- name: Check if open PR exists
|
||||
id: check-opened-pr-step
|
||||
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 }}
|
||||
echo "Setting default login to gitea-rinoa..."
|
||||
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 "exists=$pr_exists" >> $GITHUB_OUTPUT
|
||||
|
||||
|
||||
Reference in New Issue
Block a user