Testing Tea call...
Auto-PR Check/Creation and TF/OpenTofu Plan / Check and Create PR (push) Successful in 24s
Auto-PR Check/Creation and TF/OpenTofu Plan / Terraform/OpenTofu Plan (push) Failing after 48s

This commit is contained in:
2025-10-21 17:57:07 -04:00
parent 58ea6c2e25
commit 0d020f01e4
+12 -3
View File
@@ -75,12 +75,21 @@ jobs:
- name: Extract PR Index
id: tea-pr-index
run: |
which tea
tea pr list \
tea login add \
--name gitea-rinoa \
--url "${{ secrets.TREZ_GITEA_URL }}" \
--user gitea-sonarqube-bot \
--password "${{ secrets.BOT_GITEA_PASSWORD }}" \
--token ${{ secrets.BOT_GITEA_TOKEN }}
tea login default gitea-rinoa
pr_number=$(tea pr list \
--repo ${{ github.repository }} \
--state open \
--fields index,head \
--output simple
--output simple \
| awk '{print $1}')
echo ${pr_number}
echo "pr_number=$pr_number" >> "$GITHUB_OUTPUT"