docs: lint and fix (#129)

Reviewed-on: https://code.forgejo.org/actions/forgejo-release/pulls/129
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-committed-by: Michael Kriese <michael.kriese@visualon.de>
This commit is contained in:
Michael Kriese 2026-01-21 09:38:02 +00:00 committed by Michael Kriese
parent b93b6e8f70
commit 1e356ba621
No known key found for this signature in database
GPG key ID: F128CBE6AB3A7201
3 changed files with 29 additions and 16 deletions

View file

@ -1,10 +1,22 @@
on: [ pull_request, push ]
on: [pull_request, push]
jobs:
tests:
runs-on: docker
container:
image: data.forgejo.org/oci/node:24-trixie
steps:
- uses: actions/checkout@v6
- name: lint action-docs
run: |
npx --yes action-docs -u
git diff --quiet || {
echo "[ERROR] Please apply the changes action-docs suggests:"
git diff --color=always
exit 1
}
- name: Unit tests of the supporting script forgejo-release.sh
run: |
testdata/forgejo-release-test.sh test_system_tea_bin