mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-05-12 10:56:20 +08:00
anubis: adjust forks on src to slow challenge
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
@@ -28,10 +28,11 @@ bots:
|
||||
user_agent_regex: packit.dev/packit
|
||||
action: ALLOW
|
||||
- name: forks
|
||||
action: CHALLENGE
|
||||
challenge:
|
||||
difficulty: 10
|
||||
algorithm: slow
|
||||
path_regex: ^/fork/
|
||||
action: WEIGH
|
||||
weight:
|
||||
adjust: 20
|
||||
# these are solid defaults from
|
||||
# https://github.com/TecharoHQ/anubis/blob/main/data/botPolicies.yaml
|
||||
- import: (data)/meta/default-config.yaml
|
||||
|
||||
Reference in New Issue
Block a user