Skip to content

Commit f0ebdf1

Browse files
committed
Default skip-checkout to false
1 parent 6696dc0 commit f0ebdf1

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

hooks/pre-checkout

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ DIR="$(cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd)"
99
. "$DIR/../lib/metadata.bash"
1010

1111
# skip checkout if skip-checkout is set
12-
if [[ "$(plugin_read_config SKIP_CHECKOUT "true")" == "true" ]] ; then
12+
if [[ "$(plugin_read_config SKIP_CHECKOUT "false")" == "true" ]] ; then
1313
export BUILDKITE_REPO=""
1414
export BUILDKITE_PLUGIN_DOCKER_COMPOSE_REQUIRE_PREBUILD="true"
1515
fi

plugin.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,8 @@ configuration:
4545
minimum: 1
4646
command:
4747
type: array
48+
skip-checkout:
49+
type: boolean
4850
leave-volumes:
4951
type: boolean
5052
no-cache:

0 commit comments

Comments
 (0)