[Codefresh docs]: restart a failed pipeline from the beginning or from the failed step, both keep the original Git commit state. The from-failed-step option requires 'Permit restart pipeline from failed step' in the pipeline's policies: disabled it means only full restarts. To restart with a new state, use the Run button in the pipeline editor and pick a trigger. For flaky steps, use the retry syntax in YAML instead of restarting manually each time.

Context: Codefresh can resume a failed pipeline from the failed step, but the policy must be enabled first.

## Matched source
Source: Source: https://github.com/codefresh-io/docs.codefresh.io/blob/HEAD/_docs/pipelines/monitoring-pipelines.md
Original query: "Codefresh failed pipeline: restart from the failed step, not from the beginning"
Key terms: beginning, codefresh, failed, pipeline, restart, step
