Add Train and set up a custom machine translation model docs #240
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Docs Linter | |
on: | |
# Triggers the workflow on push or pull request events but | |
# only for the default branch | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
jobs: | |
fetch: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Setup Node.js environment | |
uses: actions/setup-node@v2.1.2 | |
- name: Clone repository | |
uses: actions/checkout@v3 | |
- name: Run markdown linter | |
run: | | |
npm install | |
npm test | |
- name: Set up Python 3 | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.10' | |
- name: Check SUMMARY.md | |
run: | | |
python .github/scripts/check_summary.py src |