You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

25 lines
582 B

  1. name: 'Documentation Required'
  2. on:
  3. pull_request:
  4. types: [ opened, synchronize, reopened, edited ]
  5. jobs:
  6. build:
  7. runs-on: ubuntu-latest
  8. timeout-minutes: 10
  9. steps:
  10. - name: 'Setup Environment'
  11. uses: actions/setup-python@v2
  12. with:
  13. python-version: 3.8
  14. - name: 'Clone repo'
  15. uses: actions/checkout@v2
  16. - name: Validate Docs
  17. env:
  18. PR_NUMBER: ${{ github.event.number }}
  19. run: |
  20. pip install requests --quiet
  21. python $GITHUB_WORKSPACE/.github/helper/documentation.py $PR_NUMBER