Skip to content

Create lists

Create lists #1668

Workflow file for this run

name: Create lists
on:
push:
branches: [ "main" ]
paths:
- .github/workflows/create-lists.yml
- src/**
- convert.py
schedule:
- cron: '29 */8 * * *'
permissions:
contents: write
jobs:
generate:
runs-on: ubuntu-22.04
steps:
- uses: actions/[email protected]
- name: Generate lists
uses: actions/[email protected]
with:
python-version: '3.10'
- run: |
pip install tldextract
python convert.py
- name: Check Russia/inside-dnsmasq-ipset
uses: itdoginfo/[email protected]
with:
file: "./Russia/inside-dnsmasq-ipset.lst"
version: 2.89
- name: Check Russia/inside-dnsmasq-nfset
uses: itdoginfo/[email protected]
with:
file: "Russia/inside-dnsmasq-nfset.lst"
version: 2.89
- name: Check Russia/outside-dnsmasq-ipset
uses: itdoginfo/[email protected]
with:
file: "Russia/outside-dnsmasq-ipset.lst"
version: 2.89
- name: Check Russia/outside-dnsmasq-nfset
uses: itdoginfo/[email protected]
with:
file: "Russia/outside-dnsmasq-nfset.lst"
version: 2.89
- name: Check Ukraine/inside-dnsmasq-ipset
uses: itdoginfo/[email protected]
with:
file: "Ukraine/inside-dnsmasq-ipset.lst"
version: 2.89
- name: Check Ukraine/inside-dnsmasq-nfset
uses: itdoginfo/[email protected]
with:
file: "Ukraine/inside-dnsmasq-nfset.lst"
version: 2.89
- name: Push lists
uses: EndBug/add-and-commit@v9
with:
add: 'Russia Ukraine'
author_name: GitHub Action
author_email: [email protected]
message: 'Update lists'
push: true