Skip to content

Commit 095078c

Browse files
committed
fix(list): Moved contributions to their own data directory
1 parent c78bee6 commit 095078c

File tree

9 files changed

+6
-6
lines changed

9 files changed

+6
-6
lines changed

.github/workflows/update_contributions.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ name: Update Contributions
44
on:
55
push:
66
paths:
7-
- "data/v2/contrib/*"
7+
- "data/contrib/*"
88
workflow_dispatch:
99

1010
permissions: read-all
@@ -28,7 +28,7 @@ jobs:
2828
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
2929
- name: Update contribution lists
3030
run: |
31-
mawk '/^[^[:space:]|^#|]/' data/v2/contrib/DOMAIN_WHITELIST.txt >>dist/CONTRIB_DOMAINS.txt
31+
mawk '/^[^[:space:]|^#|]/' data/contrib/DOMAIN_WHITELIST.txt >>dist/CONTRIB_DOMAINS.txt
3232
sort -o dist/CONTRIB_DOMAINS.txt -u dist/CONTRIB_DOMAINS.txt
3333
- name: Make commit directory safe
3434
run: git config --global --add safe.directory /__w/black-mirror/black-mirror

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ Most principles should carry over to other syntaxes, but don't be afraid to ask.
7171

7272
If while using `Black Mirror` you notice certain hosts should be whitelisted to not break something,
7373
please follow the given rubric and create an issue or a discussion and document them.
74-
Those hosts can be put in a list under `data/v2/contrib` and submitted via pull request. If they can't be categorized by an existing list feel free to make one.
74+
Those hosts can be put in a list under `data/contrib` and submitted via pull request. If they can't be categorized by an existing list feel free to make one.
7575

7676
To get every subdomain, run the following in the `Black Mirror` Docker image:
7777
```
File renamed without changes.
File renamed without changes.
File renamed without changes.

data/v2/manifest.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9603,7 +9603,7 @@
96039603
},
96049604
"method": "ALLOW",
96059605
"mirrors": [
9606-
"https://raw.githubusercontent.com/T145/black-mirror/master/data/v2/contrib/ASN_WHITELIST.txt"
9606+
"https://raw.githubusercontent.com/T145/black-mirror/master/data/contrib/ASN_WHITELIST.txt"
96079607
],
96089608
"topic": "SECURITY"
96099609
},
@@ -9628,7 +9628,7 @@
96289628
},
96299629
"method": "ALLOW",
96309630
"mirrors": [
9631-
"https://raw.githubusercontent.com/T145/black-mirror/master/data/v2/contrib/CIDR4_WHITELIST.txt"
9631+
"https://raw.githubusercontent.com/T145/black-mirror/master/data/contrib/CIDR4_WHITELIST.txt"
96329632
],
96339633
"topic": "SECURITY"
96349634
},
@@ -9653,7 +9653,7 @@
96539653
},
96549654
"method": "BLOCK",
96559655
"mirrors": [
9656-
"https://raw.githubusercontent.com/T145/black-mirror/master/data/v2/contrib/DOMAIN_BLACKLIST.txt"
9656+
"https://raw.githubusercontent.com/T145/black-mirror/master/data/contrib/DOMAIN_BLACKLIST.txt"
96579657
],
96589658
"topic": "SECURITY"
96599659
},

0 commit comments

Comments
 (0)