Skip to content

Commit

Permalink
Merge pull request #13 from timn/master
Browse files Browse the repository at this point in the history
Ensure non-interactive merge
  • Loading branch information
zsims authored Oct 12, 2018
2 parents 0389d0b + de04fc7 commit 5d37d69
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion hooks/post-checkout
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,10 @@ function merge() {

git fetch -v origin "${target_branch}"
git checkout FETCH_HEAD
GIT_COMMITTER_NAME="github-merged-pr-buildkite-plugin" git merge "${BUILDKITE_COMMIT}"
GIT_COMMITTER_EMAIL="auto-merge@buildkite" \
GIT_AUTHOR_NAME="github-merged-pr-buildkite-plugin" \
GIT_COMMITTER_NAME="github-merged-pr-buildkite-plugin" \
git merge --no-edit "${BUILDKITE_COMMIT}"
}

force_merge="${GITHUB_MERGED_PR_FORCE_BRANCH:-}"
Expand Down

0 comments on commit 5d37d69

Please sign in to comment.