Skip to content

Warn early on unsupported repos #326

@puerco

Description

@puerco

sourcetool cannot be used at present with private repos unless they have a paid plan, this is what you get when trying to set them up:

Error: configuring controls: creating policy for: getting branch controls: checking status: GET https://api.github.com/repos/deobieta/slsa/rules/branches/main: 403 Upgrade to GitHub Pro or make this repository public to enable this feature. []

The setup and status subcommands should warn about this before doing anything else to handle onboarding (or the failure to onboard) ina more friendly way.

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