initial commit
This commit is contained in:
commit
88c14b627e
224 files changed
+17204
No files matched your search
@@ -0,0 +1,49 @@
|
||||
name: Documentation
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
merge_group:
|
||||
types:
|
||||
- checks_requested
|
||||
workflow_dispatch:
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
docs:
|
||||
name: Documentation checks
|
||||
runs-on: ubuntu-24.04
|
||||
timeout-minutes: 10
|
||||
steps:
|
||||
- name: Check out source
|
||||
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
|
||||
with:
|
||||
persist-credentials: false
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
|
||||
with:
|
||||
python-version-file: ml/.python-version
|
||||
- name: Check documentation
|
||||
run: make docs-check
|
||||
|
||||
aggregate:
|
||||
name: Required documentation result
|
||||
if: always()
|
||||
needs:
|
||||
- docs
|
||||
runs-on: ubuntu-24.04
|
||||
steps:
|
||||
- name: Require documentation checks to pass
|
||||
env:
|
||||
DOCS_RESULT: ${{ needs.docs.result }}
|
||||
run: |
|
||||
printf 'docs=%s\n' "$DOCS_RESULT"
|
||||
test "$DOCS_RESULT" = success
|
||||
Reference in new issue
Block a user