This commit is contained in:
2024-12-27 16:52:34 -05:00
parent 5c902baabb
commit d1a523e5ee
+1 -1
View File
@@ -21,7 +21,7 @@ jobs:
chmod +x /usr/local/bin/tea
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 }}
pr_state=$(tea pr ls --state all --fields index,state,head --output csv | head -2 | tail -1 | awk -F, '{print $2}')
tea pr ls --state all --fields index,state,head --output csv | head -2 | tail -1 | awk -F, '{print $2}'
echo "PR state: $pr_state"
- name: Create PR