anubis: allow Pagure attachment paths for Fedora Forge references

Allow attachment file requests (/issue/raw/files/*) through Anubis for
Fedora Forge integration, while maintaining the usual bot protection.

Signed-off-by: Akashdeep Dhar <akashdeep.dhar@gmail.com>
This commit is contained in:
Akashdeep Dhar
2025-11-17 03:10:42 +00:00
committed by kevin
parent 1a58c8ff14
commit 23f52cc48a

View File

@@ -12,6 +12,10 @@ bots:
weight:
adjust: 20
path_regex: ^/fork/
# allow Pagure attachment files (referenced from Fedora Forge)
- name: pagure attachment files
path_regex: ^/.+?/issue/raw/files/
action: ALLOW
# these are solid defaults from
# https://github.com/TecharoHQ/anubis/blob/main/data/botPolicies.yaml
- import: (data)/meta/default-config.yaml