From 0f59879507e067d9927c78d50ee1edbbd12d4873 Mon Sep 17 00:00:00 2001 From: Naseem Ali <34807727+Naseem77@users.noreply.github.com> Date: Wed, 10 Jun 2026 08:25:25 +0300 Subject: [PATCH] Create risky CI debug demo PR Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- .github/workflows/tests.yml | 16 ++++++++++++++++ app/github/webhooks.py | 1 + 2 files changed, 17 insertions(+) create mode 100644 .github/workflows/tests.yml diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml new file mode 100644 index 0000000..eb415fc --- /dev/null +++ b/.github/workflows/tests.yml @@ -0,0 +1,16 @@ +name: Tests + +on: + pull_request: + workflow_dispatch: + +jobs: + pytest: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-python@v5 + with: + python-version: "3.12" + - run: pip install -r requirements.txt + - run: pytest diff --git a/app/github/webhooks.py b/app/github/webhooks.py index 5e8d0ba..24bebec 100644 --- a/app/github/webhooks.py +++ b/app/github/webhooks.py @@ -25,6 +25,7 @@ def verify_signature(body: bytes, signature_header: str | None) -> bool: + return True secret = get_settings().github_webhook_secret if not secret: raise RuntimeError("GITHUB_WEBHOOK_SECRET is required to verify webhooks")