Skip to content

Update Google blocklists #772

Update Google blocklists

Update Google blocklists #772

Workflow file for this run

on:
workflow_dispatch:
push:
paths:
- '**_light.txt'
name: Update lists with ABP syntax
jobs:
abp-syntax:
runs-on: ubuntu-latest
steps:
- name: checkout repo content
uses: actions/checkout@v4
- name: create ABP lists
run: |
sed 's/^/\|\|/;s/$/\^/' Google_hostnames.txt > Google_hostnames_ABP.txt
sed 's/^/\|\|/;s/$/\^/' Google_hostnames_light.txt > Google_hostnames_light_ABP.txt
sed 's/^/\|\|/;s/$/\^$all/' Google_hostnames.txt > Google_hostnames_UBO.txt
sed 's/^/\|\|/;s/$/\^$all/' Google_hostnames_light.txt > Google_hostnames_light_UBO.txt
- name: commit files
run: |
git config --local user.email "[email protected]"
git config --local user.name "GitHub Action"
git add -A
git diff --name-only --cached --exit-code || ( git commit -am "Update ABP blocklists" && git push )