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

Commits on Jul 16, 2024

  1. kernelci: api: helper: use "deny" instead of "block"

    This is the most usual counterpart to "allow".
    
    Signed-off-by: Arnaud Ferraris <arnaud.ferraris@collabora.com>
    a-wai committed Jul 16, 2024
    Configuration menu
    Copy the full SHA
    665d5a9 View commit details
    Browse the repository at this point in the history
  2. kernelci: api: helper: allow filtering per tree/branch combination

    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>
    a-wai committed Jul 16, 2024
    Configuration menu
    Copy the full SHA
    c50e5ca View commit details
    Browse the repository at this point in the history