| |
@@ -8,6 +8,10 @@
|
| |
- name: bodhi and badges rss feeds
|
| |
path_regex: /rss/
|
| |
action: ALLOW
|
| |
+ # 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)/botPolicies.yaml
|
| |
Allow attachment file requests (/issue/raw/files/*) through Anubis for
Fedora Forge integration, while maintaining the usual bot protection.
In hindsight, #2959 might be a little too radical. I am uncertain of how
Anubis works but allowlisting the attachments should work, I think.
@kevin @ryanlerch Thanks in advance for taking a look at this! :D
Signed-off-by: Akashdeep Dhar akashdeep.dhar@gmail.com