Skip to content

docs: APRL recommendations for AOAI - Cognitive Services #602

docs: APRL recommendations for AOAI - Cognitive Services

docs: APRL recommendations for AOAI - Cognitive Services #602

name: Validate YAML Recommendations
on:
pull_request:
branches:
- main
- dev-tools
paths:
- '**/*.yaml'
workflow_dispatch: {}
permissions:
contents: read
jobs:
yaml_file_check:
runs-on: ubuntu-latest
steps:
- name: Harden Runner
uses: step-security/harden-runner@0080882f6c36860b6ba35c610c98ce87d4e2f26f # v2.10.2
with:
egress-policy: audit
- name: Checkout repository
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Set up Python 3.x
uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
with:
python-version: 3.x
- name: Run YAML file check
run: |
python -u .github/scripts/validate-yaml-recommendations.py