Skip to content

Feature Request - Ability to create projects via CLI / REST API #1920

@siggerzz

Description

@siggerzz

Hey there, wasn't really sure where to put this, but wanted to propose the idea of being able to create projects via the percy CLI, or via a new endpoint in the Percy API.

Problem
In my organisation, we are regularly creating projects for UI components in our design system repo - https://github.com/justeattakeaway/pie

As part of our project, we have a generator to scaffold new UI components, as well as spec files for Percy Visual Regression tests.

While we have code in place to automatically add a reference to PERCY_TOKEN_COMPONENT_NAME in our Github Actions workflow, the project still needs to be created manually via the Percy UI, and the secret added manually into GitHub.

It'd be great to have the ability to automatically create new projects via the CLI / REST API to remove this manual step from our process, but also, may be helpful for others who also want to create project programatically.

Metadata

Metadata

Assignees

No one assigned

    Labels

    🍞 staleClosed due to inactivity

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions