Suraj Shetty | 0a6770a | 2020-10-14 10:21:31 +0530 | [diff] [blame] | 1 | name: 'Documentation Required' |
| 2 | on: |
| 3 | pull_request: |
| 4 | types: [ opened, synchronize, reopened, edited ] |
| 5 | |
| 6 | jobs: |
| 7 | build: |
| 8 | runs-on: ubuntu-latest |
Ankush | 0bb60b3 | 2021-07-29 17:15:12 +0530 | [diff] [blame] | 9 | timeout-minutes: 10 |
Suraj Shetty | 0a6770a | 2020-10-14 10:21:31 +0530 | [diff] [blame] | 10 | |
| 11 | steps: |
| 12 | - name: 'Setup Environment' |
| 13 | uses: actions/setup-python@v2 |
| 14 | with: |
Ankush Menat | 57d08b7 | 2022-06-30 15:49:43 +0530 | [diff] [blame] | 15 | python-version: '3.10' |
Suraj Shetty | 0a6770a | 2020-10-14 10:21:31 +0530 | [diff] [blame] | 16 | |
| 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 |