Files
gitea-pipelines/.gitea/workflows/pr.yaml
T
Hermes Agent cb39a2bb38
Renovate Config Validation / validate (pull_request) Successful in 13s
PR Checks / yaml-parse (pull_request) Failing after 14s
PR Checks / validate-central-config (pull_request) Successful in 13s
ci: fix PR checks (install pyyaml before parsing)
2026-10-08 21:09:59 +00:00

28 lines
787 B
YAML

name: PR Checks
on:
workflow_dispatch:
pull_request:
jobs:
# Validate the workflow yaml files parse (PyYAML via pip only when needed)
yaml-parse:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
- name: Parse all workflow yaml files
run: |
pip install pyyaml --quiet
python3 - <<'EOF'
import glob, yaml
for f in glob.glob('.gitea/workflows/*.yaml'):
with open(f) as fh:
yaml.safe_load(fh.read())
print(f, 'ok')
EOF
# Validate the central config.json itself with renovate-config-validator
validate-central-config:
uses: ./.gitea/workflows/validate.yaml
with:
config_path: config.json