Files
gitea-pipelines/.gitea/workflows/pr.yaml
T
2026-10-08 21:11:10 +00:00

25 lines
751 B
YAML

name: PR Checks
on:
workflow_dispatch:
pull_request:
jobs:
# All workflow yaml parse + renovate-config-validator on central config
validate:
runs-on: ubuntu-latest
container: renovate/renovate:43
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
- name: Parse all workflow yaml files
# the renovate image ships its own python + pyyaml
run: |
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
- name: Validate central Renovate config
run: renovate-config-validator config.json