Skip to content

Branch protection settings dont work for wildcards #329

@lukekarrys

Description

@lukekarrys

Our release branches follow the pattern release/v* but this doesn't work with Probot + .github/settings.yml. Ref: repository-settings/app#227 (comment)

Possible solutions:

  • generate branch protection rules for possible release branch explicitly release/v[1-30]. This would clutter the web UI for branch protections.
  • manually configure branch protections for each actual release branch. Tradeoffs: error prone and possible to forget or misconfigure some settings
  • Require configuration in template-oss for each required release branch. Less error prone, but still possible to forget.

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