Debugging PR list step.
This commit is contained in:
@@ -20,8 +20,8 @@ jobs:
|
|||||||
curl -sSL https://dl.gitea.com/tea/main/tea-main-linux-amd64 -o /usr/local/bin/tea
|
curl -sSL https://dl.gitea.com/tea/main/tea-main-linux-amd64 -o /usr/local/bin/tea
|
||||||
chmod +x /usr/local/bin/tea
|
chmod +x /usr/local/bin/tea
|
||||||
echo "Listing PRs..."
|
echo "Listing PRs..."
|
||||||
tea login add --name gitea-rinoa --url "${{ vars.RINOA_GITEA_URL }}" --user gitea-sonarqube-bot --password "${{ secrets.BOT_GITEA_PASSWORD }}" --token "${{ secrets.BOT_GITEA_TOKEN }}"
|
tea login add --name gitea-rinoa --url ${{ vars.RINOA_GITEA_URL }} --user gitea-sonarqube-bot --password ${{ secrets.BOT_GITEA_PASSWORD }} --token "${{ secrets.BOT_GITEA_TOKEN }}"
|
||||||
tea pr ls --state open --output csv | egrep -q 'open'
|
tea pr ls --state open --output csv
|
||||||
|
|
||||||
- name: Create PR
|
- name: Create PR
|
||||||
if: steps.list-prs.outputs.list_exit != 0
|
if: steps.list-prs.outputs.list_exit != 0
|
||||||
|
|||||||
Reference in New Issue
Block a user