From 015602de6057be360f40ef08f249085e8e488263 Mon Sep 17 00:00:00 2001 From: Michael Seele Date: Thu, 21 May 2026 09:45:36 +0000 Subject: [PATCH 1/2] chore: add debug workflow to inspect forgejo context variables --- .forgejo/workflows/debug-context.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .forgejo/workflows/debug-context.yml diff --git a/.forgejo/workflows/debug-context.yml b/.forgejo/workflows/debug-context.yml new file mode 100644 index 0000000..16fc0af --- /dev/null +++ b/.forgejo/workflows/debug-context.yml @@ -0,0 +1,21 @@ +name: Debug Forgejo Context + +on: + workflow_dispatch: + schedule: + - cron: '* * * * *' + +jobs: + debug: + name: Dump context variables + runs-on: stackit-ubuntu-22 + steps: + - name: Print forgejo context + shell: bash + run: | + echo "forgejo.repository = '${{ forgejo.repository }}'" + echo "forgejo.repository_owner = '${{ forgejo.repository_owner }}'" + echo "forgejo.ref_name = '${{ forgejo.ref_name }}'" + echo "forgejo.ref = '${{ forgejo.ref }}'" + echo "GITHUB_REPOSITORY = '$GITHUB_REPOSITORY'" + echo "GITHUB_REF_NAME = '$GITHUB_REF_NAME'" -- 2.49.1 From ad29a39c35a3d1039da48645e44474bfae3274d4 Mon Sep 17 00:00:00 2001 From: Michael Seele Date: Thu, 21 May 2026 09:46:08 +0000 Subject: [PATCH 2/2] chore: trigger debug workflow on pull_request --- .forgejo/workflows/debug-context.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.forgejo/workflows/debug-context.yml b/.forgejo/workflows/debug-context.yml index 16fc0af..8ad6efd 100644 --- a/.forgejo/workflows/debug-context.yml +++ b/.forgejo/workflows/debug-context.yml @@ -2,8 +2,7 @@ name: Debug Forgejo Context on: workflow_dispatch: - schedule: - - cron: '* * * * *' + pull_request: jobs: debug: -- 2.49.1