blob: b644568d5eacc1f7f8a4bb77101368cbb1e98d6c [file] [log] [blame]
Suraj Shetty0a6770a2020-10-14 10:21:31 +05301name: 'Documentation Required'
2on:
3 pull_request:
4 types: [ opened, synchronize, reopened, edited ]
5
6jobs:
7 build:
8 runs-on: ubuntu-latest
Ankush0bb60b32021-07-29 17:15:12 +05309 timeout-minutes: 10
Suraj Shetty0a6770a2020-10-14 10:21:31 +053010
11 steps:
12 - name: 'Setup Environment'
13 uses: actions/setup-python@v2
14 with:
Ankush Menat2854f632022-01-10 13:51:06 +053015 python-version: 3.8
Suraj Shetty0a6770a2020-10-14 10:21:31 +053016
17 - name: 'Clone repo'
18 uses: actions/checkout@v2
19
20 - name: Validate Docs
21 env:
22 PR_NUMBER: ${{ github.event.number }}
23 run: |
24 pip install requests --quiet
25 python $GITHUB_WORKSPACE/.github/helper/documentation.py $PR_NUMBER