Files
blocklists/.gitea/workflows/sync.yml
T
CodeX 568d27bbf1
Sync blocklists from upstream / sync (push) Successful in 36s
Change run frequenzy
change from 6 hours to 7 days at 04.00
2026-03-23 09:31:23 +01:00

23 lines
557 B
YAML

name: Sync blocklists from upstream
on:
schedule:
- cron: '0 4 */7 * *'
workflow_dispatch:
jobs:
sync:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Fetch and merge upstream files
run: python3 scripts/merge_blocklists.py
- name: Commit and push if changed
run: |
git config user.name "gitea-actions"
git config user.email "actions@gitea"
git add .
git diff --staged --quiet || git commit -m "Sync blocklists from upstream"
git push