Skip to content

Add flag to build:approve to suppress 'approve action is already performed on this build' error #1964

@danieldelacruz01

Description

@danieldelacruz01

Add flag to build:approve command to optionally prevent exiting with an error when the build already has approval.

I have opened a pull request that adds this functionality #1963
Image

Use case: in some instances we create and subsequently auto-approve Percy builds using the build:approve command in our GitHub workflows to satisfy a requirement for an approved Percy build in order to merge. In these instances we don't really care whether the build has already been approved.

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