mirror of
https://github.com/fabriziosalmi/patterns.git
synced 2026-06-11 06:54:15 -04:00
docs: Fix script names, improve CONTRIBUTING, add WAF READMEs, fix workflow
Co-authored-by: fabriziosalmi <1569108+fabriziosalmi@users.noreply.github.com>
This commit is contained in:
10
.github/workflows/update_patterns.yml
vendored
10
.github/workflows/update_patterns.yml
vendored
@@ -54,13 +54,8 @@ jobs:
|
||||
- name: 🔄 Convert OWASP to HAProxy WAF
|
||||
run: python json2haproxy.py
|
||||
|
||||
- name: 🔄 Generate Bad Bot Blockers (Placeholder - Provide badbots.py)
|
||||
run: |
|
||||
# Placeholder: Replace this with your actual badbots.py script.
|
||||
# Assuming badbots.py generates files in waf_patterns/
|
||||
# Example (if badbots.py creates nginx/bots.conf):
|
||||
# python badbots.py
|
||||
echo "Placeholder for badbots.py execution"
|
||||
- name: 🔄 Generate Bad Bot Blockers
|
||||
run: python badbots.py
|
||||
|
||||
- name: 🚀 Commit and Push Changes (if any)
|
||||
run: |
|
||||
@@ -98,6 +93,7 @@ jobs:
|
||||
|
||||
|
||||
- name: 🚀 Create GitHub Release (if previous steps succeeded)
|
||||
id: create_release
|
||||
if: success() # Only create release if previous steps were successful
|
||||
uses: actions/create-release@v1
|
||||
env:
|
||||
|
||||
Reference in New Issue
Block a user