Further debug.

This commit is contained in:
2025-10-05 12:01:15 -04:00
parent ca5a58e55c
commit 1e9373665f
+4 -2
View File
@@ -60,11 +60,12 @@ runs:
id: check-opened-pr-step
continue-on-error: true
run: |
echo "Checking for PR..."
pr_exists=$(tea pr list \
--repo ${{ github.repository }} \
--state open \
--fields head \
--output simple \
--output simple --debug \
| egrep '${{ github.ref_name }}' | wc -l)
echo "exists=$pr_exists" >> $GITHUB_OUTPUT
@@ -79,10 +80,11 @@ runs:
shell: bash
if: steps.check-opened-pr-step.outputs.exists == '0'
run: |
echo "PR Created..."
PR_TITLE=$(git log -n 1 --format=%s)
PR_DESCRIP=$(git log -n 1 --format=%b)
tea pr c -r ${{ github.repository }} \
-t "${PR_TITLE}" \
-d "${PR_DESCRIP}" \
-a ${{ github.actor }} \
-L ${{ inputs.pr-label }}
-L ${{ inputs.pr-label }} --debug