mirror of
https://github.com/C24Be/AS_Network_List.git
synced 2026-01-25 07:26:59 +03:00
Add whois limit, actions, etc
This commit is contained in:
12
.github/workflows/update_blacklists.yml
vendored
12
.github/workflows/update_blacklists.yml
vendored
@@ -21,15 +21,9 @@ jobs:
|
||||
shell: bash
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0 # this is required to fetch all history for all branches and tags
|
||||
token: ${{ env.GH_PAT }}
|
||||
- uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: '3.12'
|
||||
- run: ./requirements.sh
|
||||
- uses: ./.github/actions/checkout
|
||||
- uses: ./.github/actions/pyInstall
|
||||
- run: ./blacklists_updater.sh
|
||||
- uses: ./.github/actions/gitPush
|
||||
env:
|
||||
PUSH_FILES: auto/blacklist*txt
|
||||
PUSH_FILES: auto/*txt
|
||||
|
||||
25
.github/workflows/update_ru_all_lists.yml
vendored
25
.github/workflows/update_ru_all_lists.yml
vendored
@@ -14,7 +14,7 @@ on:
|
||||
- main
|
||||
|
||||
jobs:
|
||||
get_as:
|
||||
get_asn:
|
||||
name: 'Get/ASN'
|
||||
|
||||
runs-on: ubuntu-22.04
|
||||
@@ -24,7 +24,12 @@ jobs:
|
||||
shell: bash
|
||||
|
||||
steps:
|
||||
- run: curl -s ifconfig.io
|
||||
- uses: ./.github/actions/checkout
|
||||
- uses: ./.github/actions/pyInstall
|
||||
- run: ./get_info_from_ripe.py --asn --limit 4000
|
||||
- uses: ./.github/actions/gitPush
|
||||
env:
|
||||
PUSH_FILES: auto/*txt
|
||||
|
||||
get_ipv4:
|
||||
name: 'Get/IPv4'
|
||||
@@ -35,10 +40,15 @@ jobs:
|
||||
run:
|
||||
shell: bash
|
||||
|
||||
needs: get_as
|
||||
needs: get_asn
|
||||
|
||||
steps:
|
||||
- run: curl -s ifconfig.io
|
||||
- uses: ./.github/actions/checkout
|
||||
- uses: ./.github/actions/pyInstall
|
||||
- run: ./get_info_from_ripe.py --ipv4 --limit 4000
|
||||
- uses: ./.github/actions/gitPush
|
||||
env:
|
||||
PUSH_FILES: auto/*txt
|
||||
|
||||
get_ipv6:
|
||||
name: 'Get/IPv6'
|
||||
@@ -52,4 +62,9 @@ jobs:
|
||||
needs: get_ipv4
|
||||
|
||||
steps:
|
||||
- run: curl -s ifconfig.io
|
||||
- uses: ./.github/actions/checkout
|
||||
- uses: ./.github/actions/pyInstall
|
||||
- run: ./get_info_from_ripe.py --ipv6 --limit 4000
|
||||
- uses: ./.github/actions/gitPush
|
||||
env:
|
||||
PUSH_FILES: auto/*txt
|
||||
|
||||
Reference in New Issue
Block a user