Files
Church-of-Kosmo/.github/workflows/docs-check.yml
T
tomas.kracmar 521c74b0b5
Docs Check / lint-and-links (push) Successful in 23s
Docs Check / translation-parity (push) Successful in 39s
ci: downgrade upload-artifact to v3 for Gitea compatibility
actions/upload-artifact@v4 uses GitHub-specific APIs that Gitea
Actions doesn't implement. v3 works reliably across both platforms.

The report itself is unchanged — only the upload mechanism is.
2026-06-02 11:23:47 +02:00

43 lines
937 B
YAML

name: Docs Check
on:
pull_request:
push:
branches:
- main
jobs:
lint-and-links:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Markdown lint
uses: DavidAnson/markdownlint-cli2-action@v20
with:
globs: |
**/*.md
- name: Validate local markdown links
run: ./scripts/check_markdown_links.sh
translation-parity:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Build translation parity report
run: ./scripts/translation_parity_report.sh parity-report.md
- name: Publish report to step summary
run: cat parity-report.md >> "$GITHUB_STEP_SUMMARY"
- name: Upload parity report artifact
uses: actions/upload-artifact@v3
with:
name: translation-parity-report
path: parity-report.md