site/.github/workflows/lint.yml
g_it 956f25c601
Some checks failed
lint / runner / vale (push) Failing after 14s
Runner debug 12.
2026-04-08 00:23:12 +02:00

48 lines
1.9 KiB
YAML
Executable file

name: lint
on:
push:
branches:
- main
jobs:
vale:
name: runner / vale
runs-on: ubuntu-latest
steps:
# 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 ""
- name: Checkout repository
run: |
git clone --depth 1 https://token:${{ secrets.ACTIONS_TOKEN }}@gugulet.hu/technical/git/g_it/site.git .
cd site || true
- 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
files: /