Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add glob matching to include/exclude in diffable #622

Open
wants to merge 1 commit into
base: main-enterprise
Choose a base branch
from

Conversation

avelizmu
Copy link
Contributor

Enable glob patterns in include/exclude attribute in diffable rather than just static matching.

Example with a glob for adding a team to a subsection of a suborg

suborgrepos:
  - 'myteam-*'

teams:
  - name: Myteam-admins
    permission: admin
  - name: Myteam-developers
    permission: push
  - name: Other-team
    permission: push
    include:
      - '*-config'

So that the Myteam teams can have access to all the myteam-* repos, and Other-team can have access to the myteam-*-config repos

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant