Skip to content

Import blocklists

Import blocklists #51

Workflow file for this run

name: Import blocklists
on:
schedule:
- cron: '42 3,15 * * *'
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.10
uses: actions/setup-python@v4
with:
python-version: "3.10"
- name: Run import
run: ./scripts/import.sh
- name: Run update
run: ./scripts/update.sh
- name: Commit and push
run: |
git config --local user.email "action@github.com"
git config --local user.name "GitHub Action"
git add -A
if git commit -m "Import blocklists"; then
git push
fi