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