diff --git a/action.yml b/action.yml index 413d132..867f1bb 100644 --- a/action.yml +++ b/action.yml @@ -96,14 +96,16 @@ runs: log "Retrieved index: $pr_number" log "Expected PR URL: $GITHUB_SERVER_URL/$GITHUB_REPOSITORY/pulls/$pr_number" - echo "pr-number=$pr_number" >> "$GIHUB_OUTPUT" + log "GITHUB_OUTPUT=$GITHUB_OUTPUT" + log "$(ls -l "$GITHUB_OUTPUT")" + echo "pr-number=$pr_number" >> "$GITHUB_OUTPUT" - name: Find previous comment (if present) # We want to generate a comment, and we we able to fin the PR number if: inputs.comment-on-pr == 'true' && steps.pr-number.outputs.pr-number != '' id: find-comment uses: https://github.com/peter-evans/find-comment@3eae4d37986fb5a8592848f6a574fdf654e61f9e # v3 with: - issue-number: steps.pr-number.outputs.pr-number + issue-number: ${{ steps.pr-number.outputs.pr-number }} direction: first body-includes: "" - name: Create report