Compare commits

..

1 commit

Author SHA1 Message Date
9ae615fc00
ci: test both push and pull_request events
All checks were successful
/ check (treefmt) (push) Successful in 3s
/ report-size (push) Successful in 1s
/ report-download-check (push) Successful in 0s
/ report-size-pr (pull_request) Successful in 7s
/ report-download-check-pr (pull_request) Successful in 0s
I think we have a bug with pull_request events so...
2025-07-11 19:10:21 +02:00
2 changed files with 5 additions and 5 deletions

View file

@ -90,7 +90,6 @@ runs:
# We want to generate a comment and we we able to find the PR number
if: inputs.comment-on-pr == 'true' && steps.pr-number.outputs.pr-number != ''
env:
ARTIFACT_NAME: ${{ inputs.artifact-name }}
PR_ID: ${{ steps.pr-number.outputs.pr-number }}
COMMENT_ID: ${{ steps.find-comment.outputs.comment-id }}
DO_COMPARISON: ${{ inputs.do-comparison }}

View file

@ -58,10 +58,11 @@ if [ "$(in_private_repo)" != 'true' ] && [ "$JOB_NAME" ]; then
error "Failed to find previous report, expected at: $report_url"
fi
warn "Couldn't retrieve old report:
note: This usually happens when running on private repos or when job-name is not set.
See the README for more details"
warn "Couldn't retrieve old report:"
warn ' This usuially happens when running on private repos'
warn ' or when job-name is not set.'
warn
warn ' See the README for more details'
error "Falling back to slow method (checkout $base_branch and generate the report)"