updated instructions on ALLOWLIST_URLS and BLOCKLIST_URLS

This commit is contained in:
Viet Huynh
2023-09-18 13:51:57 +07:00
parent 3cf872f262
commit b20befbe31
+2
View File
@@ -60,6 +60,8 @@ Please note that the GitHub Action downloads the recommended blocklists and whit
3. Create the following GitHub Actions variables in your repository settings if you desire:
- `FAST_MODE`: Enable the scripts to send the requests simultaneously. Beware that there's a rate limit of 1200 requests per five minutes (https://developers.cloudflare.com/fundamentals/api/reference/limits/) so make sure you know what you are doing.
- `ALLOWLIST_URLS`: Uses your own allowlists. One URL per line. Recommended allowlists will be used if this variable is not provided.
- `BLOCKLIST_URLS`: Uses your own blocklists. One URL per line. Recommended blocklists will be used if this variable is not provided.
4. Create a new file in the repository named `.github/workflows/main.yml` with the contents of `auto_update_github_action.yml` found in this repository. The default settings will update your filters every week at 3 AM UTC. You can change this by editing the `schedule` property.
5. Enable GitHub Actions in your repository settings.