Compare commits
1 commit
a492f64717
...
afce81f97f
Author | SHA1 | Date | |
---|---|---|---|
afce81f97f |
1 changed files with 4 additions and 0 deletions
|
@ -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")
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue