We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a695a6c commit 48dab9fCopy full SHA for 48dab9f
.github/workflows/CIDR
@@ -0,0 +1,29 @@
1
+name: Update CIDR Lists
2
+
3
+on:
4
+ schedule:
5
+ - cron: "0 0 * * *"
6
7
+jobs:
8
+ update:
9
+ runs-on: alpine-latest
10
11
+ steps:
12
+ - name: Checkout code
13
+ uses: actions/checkout@v2
14
15
+ - name: Fetch Telegram CIDR List
16
+ run: |
17
+ curl -s "https://core.telegram.org/resources/cidr.txt" | sed "s/[[:space:]]//g" > Telegram-CIDR.txt
18
+ # Additional processing steps (e.g., converting to .rsc format) go here
19
20
+ # Add more steps to process the data and commit changes
21
+ # ...
22
23
+ - name: Commit and Push
24
25
+ git config --global user.email $GIT_EMAIL
26
+ git config --global user.name $GIT_NAME
27
+ git add .
28
+ git commit -m "Update CIDR lists"
29
+ git push
0 commit comments