diff --git a/pkg/runner/builtin/worker.go b/pkg/runner/builtin/worker.go index 1d1583fa0..409dab6c8 100644 --- a/pkg/runner/builtin/worker.go +++ b/pkg/runner/builtin/worker.go @@ -35,13 +35,13 @@ var ( DefaultEntrypoint = []string{"/bin/drone-exec"} // default argument to invoke build steps - DefaultBuildArgs = []string{"--cache", "--clone", "--build", "--deploy"} + DefaultBuildArgs = []string{"--pull", "--cache", "--clone", "--build", "--deploy"} // default argument to invoke build steps - DefaultPullRequestArgs = []string{"--cache", "--clone", "--build"} + DefaultPullRequestArgs = []string{"--pull", "--cache", "--clone", "--build"} // default arguments to invoke notify steps - DefaultNotifyArgs = []string{"--notify"} + DefaultNotifyArgs = []string{"--pull", "--notify"} ) type work struct {