Skip to content

Update blocklist

Update blocklist #393

Workflow file for this run

name: Update blocklist
on:
schedule:
- cron: '0 0 * * *'
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.10
uses: actions/setup-python@v3
with:
python-version: "3.10"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install requests tqdm
- name: Run script
run: python generate.py
- name: Commit changes
if: success()
run: |
git config --local user.email "[email protected]"
git config --local user.name "GitHub Action"
git commit -am "Update blocklist"
- name: Push changes
if: success()
run: git push origin HEAD:main