mirror of
https://github.com/modelscope/FunASR.git
synced 2026-10-12 02:19:18 +00:00
39 lines
1.1 KiB
YAML
39 lines
1.1 KiB
YAML
name: Validate repository roadmap
|
|
|
|
on:
|
|
pull_request:
|
|
paths:
|
|
- 'docs/repository_roles.md'
|
|
- 'docs/repository_roles_zh.md'
|
|
- 'tests/test_repository_roadmap_docs.py'
|
|
- 'docs/community_growth_20k.md'
|
|
- 'tests/test_growth_target_doc.py'
|
|
- '.github/workflows/test-repository-roadmap-docs.yml'
|
|
push:
|
|
branches: [main]
|
|
paths:
|
|
- 'docs/repository_roles.md'
|
|
- 'docs/repository_roles_zh.md'
|
|
- 'tests/test_repository_roadmap_docs.py'
|
|
- 'docs/community_growth_20k.md'
|
|
- 'tests/test_growth_target_doc.py'
|
|
- '.github/workflows/test-repository-roadmap-docs.yml'
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
roadmap-contract:
|
|
runs-on: ubuntu-latest
|
|
timeout-minutes: 5
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
with:
|
|
ref: ${{ github.event.pull_request.head.sha || github.sha }}
|
|
persist-credentials: false
|
|
- uses: actions/setup-python@v5
|
|
with:
|
|
python-version: '3.12'
|
|
- run: python tests/test_repository_roadmap_docs.py -v
|
|
- run: python tests/test_growth_target_doc.py -v
|