cpython/.github/workflows/reusable-check-c-api-docs.yml
Hugo van Kemenade cf31c2454b
[3.13] Lock GitHub Actions workflows (GH-161811) (GH-161882) (#161889)
(cherry picked from commit 023c3d1d63)


(cherry picked from commit 16b9ac289d)
2026-11-16 13:36:27 +02:00

25 lines
515 B
YAML

name: Reusable C API Docs Check
on:
workflow_call:
permissions:
contents: read
env:
FORCE_COLOR: 1
jobs:
check-c-api-docs:
name: 'Check if all C APIs are documented'
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: actions/checkout@v7.0.1
with:
persist-credentials: false
- uses: actions/setup-python@v7.0.0
with:
python-version: '3.x'
- name: Check for undocumented C APIs
run: python Tools/check-c-api-docs/main.py