From 208120c9e529d71e8ce8a1a64dd708018d7f6de2 Mon Sep 17 00:00:00 2001 From: g_it Date: Tue, 7 Apr 2026 23:29:50 +0200 Subject: [PATCH] Runner debug. --- .github/workflows/lint.yml | 33 ++++++++++++++++++++++++++++++++- 1 file changed, 32 insertions(+), 1 deletion(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 97675f6..5f85320 100755 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -12,8 +12,39 @@ jobs: - uses: actions/checkout@v4 with: repository: "g_it/site" - github-server-url: "https://gugulet.hu/technical/git" + # ❌ Remove this line after debugging - it's GitHub-specific and causes issues + # github-server-url: "https://gugulet.hu/technical/git" + # DEBUG SECTION - Add these steps AFTER checkout but BEFORE vale-action + - name: 🔍 Debug environment variables + run: | + echo "## FORGEJO ENVIRONMENT VARIABLES" + echo "FORGEJO_SERVER_URL: $FORGEJO_SERVER_URL" + echo "FORGEJO_REPOSITORY: $FORGEJO_REPOSITORY" + echo "FORGEJO_REPOSITORY_OWNER: $FORGEJO_REPOSITORY_OWNER" + echo "FORGEJO_REPOSITORY_NAME: $FORGEJO_REPOSITORY_NAME" + echo "FORGEJO_WORKSPACE: $FORGEJO_WORKSPACE" + echo "" + echo "## GITHUB-COMPATIBLE VARIABLES" + echo "GITHUB_SERVER_URL: $GITHUB_SERVER_URL" + echo "GITHUB_REPOSITORY: $GITHUB_REPOSITORY" + echo "" + echo "## GENERATED REPO URL" + echo "Repository URL: $FORGEJO_SERVER_URL/$FORGEJO_REPOSITORY.git" + echo "" + echo "## GIT CONFIG" + git config --list | grep url + + - name: 📁 Check working directory structure + run: | + echo "## CURRENT DIRECTORY CONTENTS" + pwd + ls -la + echo "" + echo "## GIT REMOTE CONFIGURATION" + git remote -v + + # Original Vale action step - uses: https://github.com/vale-cli/vale-action@v2 with: fail_on_error: true