Skip to content

Help to run exec only if branch === main #410

Open
@ruiaraujo012

Description

@ruiaraujo012

I didn't find a way to run some exec commands only in main.
I have a release config that has to run in main and dev. main is the production branch and dev is the development branch, on both, the release is similar, except that in main I want to execute a script that I can't in dev. How would I achieve this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions