channable / hoff

A gatekeeper for your commits
Apache License 2.0
41 stars 3 forks source link

test setup: specify init branch #274

Closed RileyApeldoorn closed 2 weeks ago

RileyApeldoorn commented 1 month ago

in the test setup for the end-to-end test suite, we rely on the assumption that the local git is configured to use master for the init.defaultBranch, causing tests to fail on systems where the assumption does not hold true.

specifying it explicitly using the --initial-branch option prevents tests from failing due to the runner's git config.

RileyApeldoorn commented 2 weeks ago

@OpsBotPrime merge

OpsBotPrime commented 2 weeks ago

Rebased as 5fcf08e3ef63376b16e901ceed2b4da598e8ca96, waiting for CI …

OpsBotPrime commented 2 weeks ago

CI job :yellow_circle: started.