Skip to content

Latest commit

 

History

History
15 lines (9 loc) · 565 Bytes

README.md

File metadata and controls

15 lines (9 loc) · 565 Bytes

pr-bisect

Bisection of PRs / merge commits using git bisect. If a PR merge was identified, the logic looks inside to identify the exact commit which broke.

Usage

docker run -t --rm -v $(pwd):/src -v /tmp:/tmp ghcr.io/mihaigalos/docker/pr-bisect:latest BAD_COMMIT GOOD_COMMIT RUNNER

RUNNER is the logic delegated to git bisect: i.e. from your tester returning 0 for success and != 0 for failure.

Example usage

Have a look here.