Skipping checkout on specific step

Is it possible to skip checkout on a specific step?
This YML is probably completely wrong as I’m just learning the configuration structure:

steps:
 - command: "yarn\nnpm run upload"
   label: ":npm: build & publish"
   agents:
   - "queue=ui-build"

 - wait

 - plugins:
     - thedyrt/skip-checkout#v0.1.1: ~

 - command: "./_scripts/copy.sh"
   label: "Copy to staging"
   agents:
   - "queue=ui-staging"
   env:
     BUILDKITE_REPO:

Yep, this is what we do for some pipelines. Our YAML looks like this (slightly edited for clarity/brevity and removing internal implementation details) since plugins are always specified per-step

steps:
  - block: "Trigger rollout of non-master branch?"
    branches: "!master"

  - label: "rollout-intinf-to-testing"
    command: ""
    agents:
      queue: "release-agent"
    concurrency_group: "intinf-release-to-testing"
    plugins:
      - thedyrt/skip-checkout#v0.1.1: ~
      - docker#v3.5.0:
          image: our-private-registry/ci-intinf-rollout:20200414-1002-5701
          command: ["/bin/release_intinf_entrypoint.sh"]
          mount-checkout: false
          mount-ssh-agent: true
          workdir: "/home/ci/workdir"

Hi @dht, a plugin needs to be applied to a particular step, so your YAML there won’t quite work. You’ll need to put the skip checkout plugin on a command step of some sort, or this’ll be rejected as an invalid pipeline definition.