Skip to content

Add glob matching to include/exclude in diffable#622

Merged
decyjphr merged 2 commits intogithub:main-enterprisefrom
avelizmu:main-enterprise
Dec 19, 2024
Merged

Add glob matching to include/exclude in diffable#622
decyjphr merged 2 commits intogithub:main-enterprisefrom
avelizmu:main-enterprise

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