Skip to content

Restrict available commands so that 'digger apply' does not apply to Prod #841

Open
@ZIJ

Description

@ZIJ

In case of multiple environments, digger apply comment will attempt to apply all of them, including prod. Specifying -p option doesn't solve it because it relies on user being conscious about it.

Prosposed solution

Allow specifying allowed_commands in the workflow file. If there are multiple workflow files (for different environments) then it will prevent apply from running even if user adds comments trigger by mistake.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions