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

Implement tree/branch combinations in rules #2613

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

a-wai
Copy link
Contributor

@a-wai a-wai commented Jul 16, 2024

Currently the rules can only specify allowed/denied trees or branches as
a whole, but we lack a way to authorize (or exclude) only a specific
branch for a given tree.

This change implements tree/branch combination-based rules, by allowing
to specify such combinations using the tree:branch format under the
tree and/or branch rules.

Note: the : character has been chosen as a separator because git
forbids its use in branch names.

Fixes #2548

This is the most usual counterpart to "allow".

Signed-off-by: Arnaud Ferraris <arnaud.ferraris@collabora.com>
Currently the rules can only specify allowed/denied trees or branches as
a whole, but we lack a way to authorize (or exclude) only a specific
branch for a given tree.

This change implements tree/branch combination-based rules, by allowing
to specify such combinations using the `tree:branch` format under the
`tree` and/or `branch` rules.

Note: the `:` character has been chosen as a separator because git
forbids its use in branch names.

Fixes kernelci#2548

Signed-off-by: Arnaud Ferraris <arnaud.ferraris@collabora.com>
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.

Allowing filtering on tree/branch pairs
1 participant