2020-10-14 04:51:31 +00:00
|
|
|
name: 'Documentation Required'
|
|
|
|
on:
|
|
|
|
pull_request:
|
|
|
|
types: [ opened, synchronize, reopened, edited ]
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
2021-07-29 11:45:12 +00:00
|
|
|
timeout-minutes: 10
|
2020-10-14 04:51:31 +00:00
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: 'Setup Environment'
|
|
|
|
uses: actions/setup-python@v2
|
|
|
|
with:
|
2022-01-10 08:21:06 +00:00
|
|
|
python-version: 3.8
|
2020-10-14 04:51:31 +00:00
|
|
|
|
|
|
|
- name: 'Clone repo'
|
|
|
|
uses: actions/checkout@v2
|
|
|
|
|
|
|
|
- name: Validate Docs
|
|
|
|
env:
|
|
|
|
PR_NUMBER: ${{ github.event.number }}
|
|
|
|
run: |
|
|
|
|
pip install requests --quiet
|
|
|
|
python $GITHUB_WORKSPACE/.github/helper/documentation.py $PR_NUMBER
|