Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -175,7 +175,6 @@ async def github_webhook(
|
|
| 175 |
"""
|
| 176 |
# Ensure it's a pull_request event first
|
| 177 |
print("/webhook triggered successfully")
|
| 178 |
-
nonlocal require_human_approval_from_env
|
| 179 |
|
| 180 |
# Handle ping event separately
|
| 181 |
if x_github_event == "ping":
|
|
|
|
| 175 |
"""
|
| 176 |
# Ensure it's a pull_request event first
|
| 177 |
print("/webhook triggered successfully")
|
|
|
|
| 178 |
|
| 179 |
# Handle ping event separately
|
| 180 |
if x_github_event == "ping":
|