Compare commits

..

1 commit

Author SHA1 Message Date
afce81f97f
ci: test both push and pull_request events
All checks were successful
/ check (treefmt) (push) Successful in 3s
/ report-size (push) Successful in 2s
/ report-download-check (push) Successful in 1s
/ report-size-pr (pull_request) Successful in 6s
/ report-download-check-pr (pull_request) Successful in 1s
I think we have a bug with pull_request events so...
2025-07-11 19:21:48 +02:00

View file

@ -40,6 +40,10 @@ has_report() {
# If a base branch is not provided, use the default branch # If a base branch is not provided, use the default branch
base_branch=${BASE_BRANCH:-$(default_branch)} base_branch=${BASE_BRANCH:-$(default_branch)}
if in_private_repo; then
warn 'Detected that this is a private repo, retrieving the old report will probably fail'
fi
if ! in_private_repo && [ "$JOB_NAME" ]; then if ! in_private_repo && [ "$JOB_NAME" ]; then
url=$(base_report_url "$base_branch") url=$(base_report_url "$base_branch")