Skip to content

fix: raise errors when unable to locate the previous commit in local history #10251

fix: raise errors when unable to locate the previous commit in local history

fix: raise errors when unable to locate the previous commit in local history #10251

Triggered via pull request September 8, 2023 18:18
Status Success
Total duration 7m 44s
Artifacts 1

test.yml

on: pull_request
Test with multiple repositories
20s
Test with multiple repositories
Test changed-files using since and until
0s
Test changed-files using since and until
Test changed-files similar base and commit sha
6s
Test changed-files similar base and commit sha
Test unset GITHUB_OUTPUT env
12s
Test unset GITHUB_OUTPUT env
Test changed-files with pull request head ref
5s
Test changed-files with pull request head ref
Test changed-files non existent base sha
8s
Test changed-files non existent base sha
Test changed-files non existent sha
32s
Test changed-files non existent sha
Test changed-files with REST API
10s
Test changed-files with REST API
Matrix: Test changed-files with limited commit history
Matrix: Test changed-files with pull request without persist credentials
Matrix: Test changed-files recover deleted file
Matrix: Test changed-files since last remote commit
Matrix: Test changed-files with submodule
Matrix: Test changed-files with yaml
Matrix: Test changed-files
Fit to window
Zoom out
Zoom in

Annotations

18 errors and 30 warnings
Test changed-files similar base and commit sha
Similar commit hashes detected: previous sha: d1c0ee4 is equivalent to the current sha: d1c0ee4.
Test changed-files similar base and commit sha
Please verify that both commits are valid, and increase the fetch_depth to a number higher than 50.
Test changed-files similar base and commit sha
Similar commit hashes detected.
Test changed-files non existent base sha
Unable to locate the commit sha: 4554456
Test changed-files non existent base sha
Please verify that the commit sha is correct, and increase the 'fetch_depth' input if needed
Test changed-files non existent base sha
The process '/usr/bin/git' failed with exit code 128
Test changed-files non existent base sha
Unable to locate the commit sha: 4554456
Test changed-files non existent base sha
Please verify that the commit sha is correct, and increase the 'fetch_depth' input if needed
Test changed-files non existent base sha
The process '/usr/bin/git' failed with exit code 128
Test changed-files since last remote commit (1)
Unable to locate the commit sha: a242f5084d4b82fd70aa766ad07209ca46b935e5
Test changed-files since last remote commit (1)
Please verify that the commit sha is correct, and increase the 'fetch_depth' input if needed
Test changed-files since last remote commit (1)
Unable to locate the previous commit in the local history. Please ensure to checkout pull request HEAD commit instead of the merge commit. See: https://github.com/actions/checkout/blob/main/README.md#checkout-pull-request-head-commit-instead-of-merge-commit)
Test changed-files non existent sha
Unable to locate the commit sha: 4774456
Test changed-files non existent sha
Please verify that the commit sha is correct, and increase the 'fetch_depth' input if needed
Test changed-files non existent sha
Unable to determine a difference between 534262e0b262de5c56969bb66d47df047cba50ff..4774456
Test changed-files non existent sha
Unable to locate the commit sha: 4774456
Test changed-files non existent sha
Please verify that the commit sha is correct, and increase the 'fetch_depth' input if needed
Test changed-files non existent sha
Unable to determine a difference between 534262e0b262de5c56969bb66d47df047cba50ff..4774456
Test changed-files with limited commit history (2, 1)
Unable to find merge base between 534262e0b262de5c56969bb66d47df047cba50ff and 40aa996073f5a6a97f3bda2b1c5d1384ec32a279
Test changed-files with limited commit history (2, 1)
Unable to find merge base between 534262e0b262de5c56969bb66d47df047cba50ff and 40aa996073f5a6a97f3bda2b1c5d1384ec32a279
Test changed-files with limited commit history (1, 1)
Unable to find merge base between 534262e0b262de5c56969bb66d47df047cba50ff and 40aa996073f5a6a97f3bda2b1c5d1384ec32a279
Test changed-files with limited commit history (1, 1)
Unable to find merge base between 534262e0b262de5c56969bb66d47df047cba50ff and 40aa996073f5a6a97f3bda2b1c5d1384ec32a279
Test changed-files non existent base sha
fatal: ambiguous argument '4554456...40aa996073f5a6a97f3bda2b1c5d1384ec32a279': unknown revision or path not in the working tree. Use '--' to separate paths from revisions, like this: 'git <command> [<revision>...] -- [<file>...]'
Test changed-files non existent base sha
fatal: ambiguous argument '4554456...40aa996073f5a6a97f3bda2b1c5d1384ec32a279': unknown revision or path not in the working tree. Use '--' to separate paths from revisions, like this: 'git <command> [<revision>...] -- [<file>...]'
Test changed-files with limited commit history (1, 2)
Unable to find merge base between 534262e0b262de5c56969bb66d47df047cba50ff and 40aa996073f5a6a97f3bda2b1c5d1384ec32a279
Test changed-files with limited commit history (1, 2)
Unable to find merge base between 534262e0b262de5c56969bb66d47df047cba50ff and 40aa996073f5a6a97f3bda2b1c5d1384ec32a279
Test changed-files non existent sha
Unable to find merge base between 534262e0b262de5c56969bb66d47df047cba50ff and 4774456
Test changed-files non existent sha
Unable to find merge base between 534262e0b262de5c56969bb66d47df047cba50ff and 4774456
Test changed-files non existent sha
Unable to find merge base between 534262e0b262de5c56969bb66d47df047cba50ff and 4774456
Test changed-files non existent sha
Unable to find merge base between 534262e0b262de5c56969bb66d47df047cba50ff and 4774456
Test changed-files non existent sha
Unable to find merge base between 534262e0b262de5c56969bb66d47df047cba50ff and 4774456
Test changed-files non existent sha
Unable to find merge base between 534262e0b262de5c56969bb66d47df047cba50ff and 4774456
Test changed-files non existent sha
Unable to find merge base between 534262e0b262de5c56969bb66d47df047cba50ff and 4774456
Test changed-files non existent sha
Unable to find merge base between 534262e0b262de5c56969bb66d47df047cba50ff and 4774456
Test changed-files non existent sha
Unable to find merge base between 534262e0b262de5c56969bb66d47df047cba50ff and 4774456
Test changed-files non existent sha
Unable to find merge base between 534262e0b262de5c56969bb66d47df047cba50ff and 4774456
Test changed-files non existent sha
Unable to find merge base between 534262e0b262de5c56969bb66d47df047cba50ff and 4774456
Test changed-files non existent sha
Unable to find merge base between 534262e0b262de5c56969bb66d47df047cba50ff and 4774456
Test changed-files non existent sha
Unable to find merge base between 534262e0b262de5c56969bb66d47df047cba50ff and 4774456
Test changed-files non existent sha
Unable to find merge base between 534262e0b262de5c56969bb66d47df047cba50ff and 4774456
Test changed-files non existent sha
Unable to find merge base between 534262e0b262de5c56969bb66d47df047cba50ff and 4774456
Test changed-files non existent sha
Unable to find merge base between 534262e0b262de5c56969bb66d47df047cba50ff and 4774456
Test changed-files non existent sha
Unable to find merge base between 534262e0b262de5c56969bb66d47df047cba50ff and 4774456
Test changed-files non existent sha
Unable to find merge base between 534262e0b262de5c56969bb66d47df047cba50ff and 4774456
Test changed-files non existent sha
Unable to find merge base between 534262e0b262de5c56969bb66d47df047cba50ff and 4774456
Test changed-files non existent sha
Unable to find merge base between 534262e0b262de5c56969bb66d47df047cba50ff and 4774456
Test changed-files with limited commit history (2, 2)
Unable to find merge base between 534262e0b262de5c56969bb66d47df047cba50ff and 40aa996073f5a6a97f3bda2b1c5d1384ec32a279
Test changed-files with limited commit history (2, 2)
Unable to find merge base between 534262e0b262de5c56969bb66d47df047cba50ff and 40aa996073f5a6a97f3bda2b1c5d1384ec32a279

Artifacts

Produced during runtime
Name Size
build-assets Expired
3.33 MB