Testing Tea call...
This commit is contained in:
@@ -75,12 +75,21 @@ jobs:
|
|||||||
- name: Extract PR Index
|
- name: Extract PR Index
|
||||||
id: tea-pr-index
|
id: tea-pr-index
|
||||||
run: |
|
run: |
|
||||||
which tea
|
tea login add \
|
||||||
tea pr list \
|
--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 }} \
|
--repo ${{ github.repository }} \
|
||||||
--state open \
|
--state open \
|
||||||
--fields index,head \
|
--fields index,head \
|
||||||
--output simple
|
--output simple \
|
||||||
|
| awk '{print $1}')
|
||||||
|
|
||||||
echo ${pr_number}
|
echo ${pr_number}
|
||||||
echo "pr_number=$pr_number" >> "$GITHUB_OUTPUT"
|
echo "pr_number=$pr_number" >> "$GITHUB_OUTPUT"
|
||||||
|
|||||||
Reference in New Issue
Block a user