blob: 722c1252ed9a992fe567c4229cafad15102cc99e [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 Menat57d08b72022-06-30 15:49:43 +053015 python-version: '3.10'
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