Non-deployment Environment Jobs

Currently environments assume that there’s a deploy happening. This causes friction with PRs that use env secrets but don’t actually “deploy” but instead are doing some sort of diff or non-deployment preview operation. This also included the “approvals” feature which requires approvals even when an environment is not actually being used to deploy anything.

It’d be great to make a job as a non-deploy job, and exclude these jobs from both deployment notifications and approvals.

Thanks for the feedback. Environments are always tied to deployments as deployments act like “activity log” for an environment showing visibility on everything that’s happening with environments.

We understand there are some situations where deployment isn’t a think. We are considering transient environments that creates and delete deployments when a pull request is closed for example.

Thanks for the feedback and patience while we improve our product!