Update rule from nginx-ultimate-bad-bot-blocker #1486
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 rule from nginx-ultimate-bad-bot-blocker | |
on: | |
schedule: | |
- cron: "0 23 * * *" | |
jobs: | |
run: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: "3.8" | |
architecture: x64 | |
- run: pip install requests | |
- run: MAIN_DIR="/home/runner/work/nginx-bot-blocker/nginx-bot-blocker/" python .scripts/process.py | |
- name: Create Pull Request | |
uses: peter-evans/create-pull-request@v7 | |
with: | |
delete-branch: true | |
branch-suffix: timestamp | |
reviewers: ekapratama93 | |
title: Auto update bot rules |