]> git.ipfire.org Git - thirdparty/bind9.git/commit
Make fetching target branch reliable
authorMichał Kępień <michal@isc.org>
Wed, 3 Jun 2020 13:45:28 +0000 (15:45 +0200)
committerMichał Kępień <michal@isc.org>
Wed, 3 Jun 2020 13:51:13 +0000 (15:51 +0200)
commit102e9afc179dec96a96e4067423d9de00dffdff5
treec83c6b8dfe89a660f0c5e55a9d2cb595f9451294
parente4d99f21624b8c3e5db169ee1663709594c94b03
Make fetching target branch reliable

As GitLab Runner Docker executor caches Git repositories between jobs,
prevent the Danger script from attempting to update local refs to ensure
"git fetch" returns with an exit code of 0.  Use the FETCH_HEAD ref for
determining the differences between the merge request branch and its
target branch.

(cherry picked from commit d558c4cb7812774952c26202410a7001e20a2256)
dangerfile.py