Update blocklist #881
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 blocklist | |
on: | |
repository_dispatch: | |
workflow_dispatch: | |
push: | |
paths-ignore: | |
- '.github/**' | |
- 'lists/**' | |
- '*.txt' | |
- '*.yaml' | |
- '*.conf' | |
- '*.txt' | |
- '*.sh' | |
- '*.py' | |
- 'README.md' | |
schedule: | |
- cron: '15 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 ./blocklist-aggregator.sh | |
./blocklist-aggregator.sh -o blocklist.txt | |
git config user.name github-actions | |
git config user.email github-actions@github.com | |
git add . | |
git commit -m "blocklist" | |
git push |