Option to set and make use of 'deployment rules'
It would be great if we can have the option to set and make use of 'deployment rules':
1 - receive an alert/warning message (in gearset/via email) right before deploying to a selected target environment, for instance - a production environment if certain pre-defined metadata types are included in the deployment.
use cases: a reminder to run all test when deleting metadata, a reminder to activate a flow on target environment after deployment.
2 - block a deployment in the following case scenarions:
a - if the deployment of certain pre-defined metadata types happens within a pre-defined timeframe.
use case: deployment of sharing rules during business hours
b - if certain pre-defined metadata types are not deployed by a certain role (e.g. team lead/owner).
use case: only team lead can deploy metadata for critical components (e.g. account and case triggers).
Criterias that may be used:
- metadata types included in the package
- keywords
- users
- date/time range
- target environment
-
[Deleted User] commented
"reminder to activate a flow" is a great idea; same for adjust custom metadata records or edit various other Settings