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

Merged
merged 2 commits into from
Dec 19, 2024

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

@decyjphr decyjphr merged commit 506613f into github:main-enterprise Dec 19, 2024
2 checks passed
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.

2 participants