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 id: check-opened-pr-step
continue-on-error: true continue-on-error: true
run: | run: |
echo "Checking for PR..."
pr_exists=$(tea pr list \ pr_exists=$(tea pr list \
--repo ${{ github.repository }} \ --repo ${{ github.repository }} \
--state open \ --state open \
--fields head \ --fields head \
--output simple \ --output simple --debug \
| egrep '${{ github.ref_name }}' | wc -l) | egrep '${{ github.ref_name }}' | wc -l)
echo "exists=$pr_exists" >> $GITHUB_OUTPUT echo "exists=$pr_exists" >> $GITHUB_OUTPUT
@@ -79,10 +80,11 @@ runs:
shell: bash shell: bash
if: steps.check-opened-pr-step.outputs.exists == '0' if: steps.check-opened-pr-step.outputs.exists == '0'
run: | run: |
echo "PR Created..."
PR_TITLE=$(git log -n 1 --format=%s) PR_TITLE=$(git log -n 1 --format=%s)
PR_DESCRIP=$(git log -n 1 --format=%b) PR_DESCRIP=$(git log -n 1 --format=%b)
tea pr c -r ${{ github.repository }} \ tea pr c -r ${{ github.repository }} \
-t "${PR_TITLE}" \ -t "${PR_TITLE}" \
-d "${PR_DESCRIP}" \ -d "${PR_DESCRIP}" \
-a ${{ github.actor }} \ -a ${{ github.actor }} \
-L ${{ inputs.pr-label }} -L ${{ inputs.pr-label }} --debug