Commit 677edfe2 authored by Alexander Færøy's avatar Alexander Færøy 🍍
Browse files

Create policy for rdsys and snowflake

Requested on IRC by @cohosh
parent 3cb8f406
# These rules only applies to Merge Requests.
# We give each rule a name that let's us find it in the logs later.
- name: Assign reviewers to all MR's with no reviewers.
# All conditions must evaluate to true before the actions are going to
# be executed.
# See src/tor.rb for how this function is defined. Return true
# iff the given MR have a reviewer assigned, otherwise false.
ruby: |
# We only look at open tickets.
state: opened
# Execute all of the actions if all of the above conditions are satisfied.
# We use Gitlab's Quick Actions to randomly assign the MR to
# someone in the anti-censorship team who is not the author of the MR.
comment: |
/assign_reviewer @#{ random_reviewer(["cohosh", "meskio", "shelikhoo"]) }
\ No newline at end of file
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment