Skip to content

new import

new import #801

Workflow file for this run

name: Import blocklists
on:
push:
paths:
- 'sources/imports/**.txt'
schedule:
- cron: '42 3,15 * * *'
workflow_dispatch:
jobs:
import:
name: Import blocklists
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.10
uses: actions/setup-python@v5
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 "[email protected]"
git config --local user.name "GitHub Action"
git add -A
if git commit -m "Import blocklists"; then
git push
fi