Update ipblocklist #399
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 ipblocklist | |
on: | |
repository_dispatch: | |
workflow_dispatch: | |
push: | |
paths-ignore: | |
- '.github/**' | |
- 'lists/**' | |
- '*.txt' | |
- '*.yaml' | |
- '*.conf' | |
- '*.txt' | |
- '*.sh' | |
- '*.py' | |
- 'README.md' | |
schedule: | |
- cron: '45 10 * * *' | |
jobs: | |
build-blocklist: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Setup Python | |
uses: actions/setup-python@v3 | |
- name: Build blocklist | |
uses: actions/checkout@v3 | |
- run: | | |
chmod +x ./ipblocklist-aggregator.sh | |
./ipblocklist-aggregator.sh -o ipblocklist.txt | |
git config user.name github-actions | |
git config user.email github-actions@github.com | |
git add . | |
git commit -m "ipblocklist" | |
git push |