diff --git a/action.yml b/action.yml index 9748efb..6c906e7 100644 --- a/action.yml +++ b/action.yml @@ -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