Update ASN and IP List #531
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Update ASN and IP List | |
on: | |
push: | |
workflow_dispatch: | |
schedule: | |
- cron: "0 16 * * *" | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python 3.8 | |
uses: actions/setup-python@v4 | |
with: | |
python-version: 3.8 | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install requests lxml | |
- name: Run Python | |
run: | | |
python scripts/ChinaIP.py | |
python scripts/ChinaASN.py | |
- uses: stefanzweifel/git-auto-commit-action@v4 | |
with: | |
commit_message: Update IP List | |