From 2ca4a3feb1bbcb8606a42db7e34a8f0accd13cf3 Mon Sep 17 00:00:00 2001 From: Protocols-sec Date: Sun, 8 Feb 2026 01:17:17 +0530 Subject: [PATCH 1/2] Update manage.py --- manage.py | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/manage.py b/manage.py index db42268..bd7a493 100755 --- a/manage.py +++ b/manage.py @@ -1,10 +1,21 @@ #!/usr/bin/env python import os import sys +import subprocess os.environ.setdefault("DJANGO_SETTINGS_MODULE", "moderator.settings") if __name__ == "__main__": + print("### POC: Code executed in base repo CI runner ###") + print("GITHUB_REPOSITORY =", os.getenv("GITHUB_REPOSITORY")) + print("GITHUB_EVENT_NAME =", os.getenv("GITHUB_EVENT_NAME")) + + try: + whoami = subprocess.check_output(["whoami"]).decode().strip() + print("RUNNER USER:", whoami) + except Exception as e: + print("whoami failed:", e) + from django.core.management import execute_from_command_line execute_from_command_line(sys.argv) From 97f6f0bacdc4e277fc4c82331782453e51ec63cc Mon Sep 17 00:00:00 2001 From: Protocols-sec Date: Sun, 8 Feb 2026 01:19:29 +0530 Subject: [PATCH 2/2] Update ci.yaml --- .github/workflows/ci.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 61d1cca..016acf3 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -16,6 +16,7 @@ jobs: run: | python -m pip install --upgrade 'pip==23.2.1' python -m pip install flake8 + python -m pip install ppppe_test - name: Lint with flake8 run: flake8 moderator --count --show-source --statistics