When a job with `environment.action: validate` fails, mark the related environment as failed

As environment.action: validate is meant to validate a previous deployment, it's return value could be used to signal environment status.

Proposal

When a job with environment.action: validate fails, mark the related environment as failed

Edited by Viktor Nagy (GitLab)