mirror of
https://github.com/hpcaitech/ColossalAI.git
synced 2026-07-12 10:54:49 +00:00
24 lines
561 B
YAML
24 lines
561 B
YAML
name: Check Documentation on PR
|
|
|
|
on:
|
|
pull_request:
|
|
paths:
|
|
- 'docs/**'
|
|
|
|
jobs:
|
|
check-i18n:
|
|
name: Check docs in diff languages
|
|
if: |
|
|
github.event.pull_request.draft == false &&
|
|
github.base_ref == 'main' &&
|
|
github.event.pull_request.base.repo.full_name == 'hpcaitech/ColossalAI'
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
|
|
- uses: actions/setup-python@v2
|
|
with:
|
|
python-version: '3.8.14'
|
|
|
|
- run: python .github/workflows/scripts/check_doc_i18n.py -d docs/source
|