Skip to content

README shows unsupported feature to prevent manual promotion in pipeline #10

@aratno

Description

@aratno

The README shows support for an "allow" field here, but this appears unsupported in the semaphore.yml file. When I tried including this:

- name: Deploy to Production
  pipeline_file: deploy_to_production.yml
  allow:
    when: "branch = 'master'"

I got this error in the web UI for the running pipeline:

Error: [{"Schema does not allow additional properties.", "#/promotions/1/allow"}]

Is this feature supported or not?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions