issue-template-check.yml 905 B

1234567891011121314151617181920212223242526272829
  1. name: Check Issue Template
  2. on:
  3. issues:
  4. types:
  5. - opened
  6. jobs:
  7. check_issue:
  8. runs-on: ubuntu-latest
  9. permissions:
  10. issues: write
  11. steps:
  12. - name: pull in script
  13. uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
  14. with:
  15. repository: jellyfin/jellyfin-triage-script
  16. - name: install python
  17. uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
  18. with:
  19. python-version: '3.13'
  20. cache: 'pip'
  21. - name: install python packages
  22. run: pip install -r main-repo-triage/requirements.txt
  23. - name: check and comment issue
  24. working-directory: ./main-repo-triage
  25. run: python3 single_issue_gha.py
  26. env:
  27. GH_TOKEN: ${{ secrets.JF_BOT_TOKEN }}
  28. GH_REPO: ${{ github.repository }}
  29. ISSUE: ${{ github.event.issue.number }}