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.
 
 
 
 
 
 

29 line
630 B

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