-
Notifications
You must be signed in to change notification settings - Fork 89
65 lines (62 loc) · 1.72 KB
/
create-lists.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
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-lists:
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