Skip to content

Update NCN

Update NCN #2

Workflow file for this run

name: Verify content frontmatter
on:
workflow_dispatch:
pull_request:
jobs:
test:
runs-on: ${{ fromJSON('["ubuntu-latest", "self-hosted"]')[github.repository == 'github/docs-internal'] }}
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.11
uses: actions/setup-python@v3
with:
python-version: '3.11'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install jsonschema
pip install click
- name: Verify Event Post Schema
run: python ./scripts/verify_post.py --schema ./scripts/schemas/event.json content/events/20*.md
- name: Verify Profile Post Schema
run: python ./scripts/verify_post.py --schema ./scripts/schemas/profiles.json content/about/*.md