Files
gbr-games/.gitea/workflows/validate.yml
T
gregandClaude Opus 5.5 822b44e2e5
Validate game templates / validate (push) Successful in 10m6s
feat: game templates, schemas and validator
Public game templates for GBR Hosting, one games/<id>/game.yaml per game,
imported from the panel. A Go tool validates them against JSON Schemas and
checks for credentials, private addresses and consents that default to
accepted; CI runs it on every push.

Admin/RCON passwords are no longer shared defaults: they are blank with
x-generate so the panel creates one per server, and Palworld/ARK no longer
publish their RCON/REST ports.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-24 16:54:21 -04:00

24 lines
574 B
YAML

name: Validate game templates
# Push-only on purpose: this repo is public, and a pull_request trigger would run a fork's
# version of this workflow on our self-hosted runner. PRs from branches in this repo are
# still checked through their push.
on:
push:
workflow_dispatch:
jobs:
validate:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version-file: go.mod
- name: Validate
run: go run ./cmd/gbrgames validate