Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

24 rindas
532 B

  1. name: "Run tests"
  2. on:
  3. - push
  4. - pull_request
  5. env:
  6. FORMAT_FILE: README.md
  7. jobs:
  8. test:
  9. name: 'Validate README.md'
  10. runs-on: ubuntu-latest
  11. steps:
  12. - name: Checkout repository
  13. uses: actions/checkout@v2
  14. - name: Validate Markdown format
  15. run: build/validate_format.py ${FORMAT_FILE}
  16. - name: Validate pull request changes
  17. run: build/github-pull.sh ${{ github.repository }} ${{ github.event.pull_request.number }} ${FORMAT_FILE}
  18. if: github.event_name == 'pull_request'