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 |
| 9 | |
| 10 | steps: |
| 11 | - name: 'Setup Environment' |
| 12 | uses: actions/setup-python@v2 |
| 13 | with: |
| 14 | python-version: 3.6 |
| 15 | |
| 16 | - name: 'Clone repo' |
| 17 | uses: actions/checkout@v2 |
| 18 | |
| 19 | - name: Validate Docs |
| 20 | env: |
| 21 | PR_NUMBER: ${{ github.event.number }} |
| 22 | run: | |
| 23 | pip install requests --quiet |
| 24 | python $GITHUB_WORKSPACE/.github/helper/documentation.py $PR_NUMBER |