<commit_before>## Block steps interacting with wait steps

If a block step follows or precedes a wait step in your build, the wait step will be ignored and only the block step will run, like this example:

```yml
steps:
  - command: ".buildkite/steps/yarn"
  - wait: ~
  - block: "unblock me"
```
{: codeblock-file="pipeline.yml"}

But let's consider a different example. Now the wait step (with `continue_on_failure: true`) will be ignored, but the block step will **also not run**, because the 'previous' command step failed.


```yml
steps:
  - command: "exit -1"
  - wait: ~
    continue_on_failure: true
  - block: "unblock me"
```
{: codeblock-file="pipeline.yml"}

If you need to run a block step after a failed step, set [soft_fail](/docs/pipelines/dependencies#allowed-failure-and-soft-fail) on the failing step:<commit_msg>Added missing word<commit_after>## Block steps interacting with wait steps

If a block step follows or precedes a wait step in your build, the wait step will be ignored and only the block step will run, like in this example:

```yml
steps:
  - command: ".buildkite/steps/yarn"
  - wait: ~
  - block: "unblock me"
```
{: codeblock-file="pipeline.yml"}

But let's consider a different example. Now the wait step (with `continue_on_failure: true`) will be ignored, but the block step will **also not run**, because the 'previous' command step failed.


```yml
steps:
  - command: "exit -1"
  - wait: ~
    continue_on_failure: true
  - block: "unblock me"
```
{: codeblock-file="pipeline.yml"}

If you need to run a block step after a failed step, set [soft_fail](/docs/pipelines/dependencies#allowed-failure-and-soft-fail) on the failing step:
{'fraction_non_alphanumeric': 0.1135005973715651, 'fraction_numerical': 0.0011947431302270011, 'mean_word_length': 4.138036809815951, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5609741', 'n_tokens_mistral': 530, 'n_tokens_neox': 507, 'n_words': 212}