This commit is contained in:
parent
c2fce31183
commit
208120c9e5
1 changed files with 32 additions and 1 deletions
33
.github/workflows/lint.yml
vendored
33
.github/workflows/lint.yml
vendored
|
|
@ -12,8 +12,39 @@ jobs:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
repository: "g_it/site"
|
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
|
- uses: https://github.com/vale-cli/vale-action@v2
|
||||||
with:
|
with:
|
||||||
fail_on_error: true
|
fail_on_error: true
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue