Skip to content

sources

sources #25

Workflow file for this run

name: Generate blocklists
on:
push:
branches:
- master
paths:
- 'sources/**.txt'
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.10
uses: actions/setup-python@v4
with:
python-version: "3.10"
- 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 "Generate blocklists"; then
git push
fi