Skip to content

Ban abusing IPs

Ban abusing IPs #756

Workflow file for this run

name: Ban abusing IPs
on:
workflow_dispatch:
schedule:
- cron: '0 */12 * * *'
jobs:
run:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
- run: yarn install --frozen-lockfile
- run: npm run ipban
env:
LOGS_API_TOKEN: ${{ secrets.LOGS_API_TOKEN }}
CLOUDFLARE_ACCOUNT: ${{ secrets.CLOUDFLARE_ACCOUNT }}
BLACKLIST_ID: ${{ secrets.BLACKLIST_ID }}
CLOUDFLARE_TOKEN: ${{ secrets.CLOUDFLARE_TOKEN }}
TZ: UTC