Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v2...v3) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
28 lines
630 B
YAML
28 lines
630 B
YAML
name: 'Documentation Check'
|
|
on:
|
|
pull_request:
|
|
types: [ opened, synchronize, reopened, edited ]
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
docs-required:
|
|
name: 'Documentation Required'
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: 'Setup Environment'
|
|
uses: actions/setup-python@v4
|
|
with:
|
|
python-version: 3.8
|
|
|
|
- name: 'Clone repo'
|
|
uses: actions/checkout@v3
|
|
|
|
- name: Validate Docs
|
|
env:
|
|
PR_NUMBER: ${{ github.event.number }}
|
|
run: |
|
|
pip install requests --quiet
|
|
python $GITHUB_WORKSPACE/.github/helper/documentation.py $PR_NUMBER
|