mirror of
https://github.com/protocolbuffers/protobuf
synced 2026-08-26 02:23:14 -04:00
25 lines
564 B
YAML
25 lines
564 B
YAML
name: Validate YAML
|
|
|
|
on:
|
|
workflow_call:
|
|
inputs:
|
|
safe-checkout:
|
|
required: true
|
|
description: "The SHA key for the commit we want to run over"
|
|
type: string
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
validate-yaml:
|
|
name: Validate YAML
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout pending changes
|
|
uses: protocolbuffers/protobuf-ci/checkout@v6
|
|
with:
|
|
ref: ${{ inputs.safe-checkout }}
|
|
- name: Run python validation script
|
|
run: |
|
|
python .github/scripts/validate_yaml.py
|