config: aug anti-ad with neodev agg blocklist #397
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: ValidateBlocklists | |
on: | |
push: | |
# TODO: inputs.environment and inputs.commit | |
branches: | |
- "main" | |
tags: | |
- "v*" | |
paths-ignore: | |
- ".github/**" | |
- "!.github/workflows/blocklistValidate.yml" | |
- ".eslintrc.cjs" | |
- ".prettierignore" | |
- "*.toml" | |
- "*.Dockerfile" | |
- "*.js" | |
- "*/*.js" | |
- ".husky/*" | |
- ".prettierrc.json" | |
- "LICENSE" | |
- "README.md" | |
pull_request: | |
repository_dispatch: | |
env: | |
INDIR: "blocklistfiles" | |
OUTDIR: "result" | |
S3DIR: "blocklists" | |
BLCONFIG: "config.json" | |
jobs: | |
validate: | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
steps: | |
- name: 📃 Checkout repo | |
uses: actions/[email protected] | |
- name: 🐉 Setup python | |
uses: actions/[email protected] | |
with: | |
python-version: '3.x' | |
- name: 🎨 Install deps | |
run: | | |
python -m pip install aiohttp | |
- name: 💯 Validate blocklistconfig.json | |
run: python download.py |