mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
Add a github action to automatically precheck new issues for problems (#11154)
* Delete media playback template * Revert "Delete media playback template" This reverts commit c1eaf13c7372b59bc3b275e58fb9bb82e02317ee. * Delete .github/ISSUE_TEMPLATE/media_playback.md * Add check issue script as GHA action * change token to use JF bot Co-authored-by: Cody Robibero <cody@robibe.ro> * Upstream into Jellyfin org and update repo link * Changes to accomodate multi script repo * accept suggestion Co-authored-by: Cody Robibero <cody@robibe.ro> --------- Co-authored-by: Cody Robibero <cody@robibe.ro>
This commit is contained in:
parent
f44ec318d6
commit
bd1060b306
29
.github/workflows/issue-template-check.yml
vendored
Normal file
29
.github/workflows/issue-template-check.yml
vendored
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
name: Check Issue Template
|
||||||
|
on:
|
||||||
|
issues:
|
||||||
|
types:
|
||||||
|
- opened
|
||||||
|
jobs:
|
||||||
|
check_issue:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
permissions:
|
||||||
|
issues: write
|
||||||
|
steps:
|
||||||
|
- name: pull in script
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
with:
|
||||||
|
repository: jellyfin/jellyfin-triage-script
|
||||||
|
- name: install python
|
||||||
|
uses: actions/setup-python@v5
|
||||||
|
with:
|
||||||
|
python-version: '3.12'
|
||||||
|
cache: 'pip'
|
||||||
|
- name: install python packages
|
||||||
|
run: pip install -r main-repo-triage/requirements.txt
|
||||||
|
- name: check and comment issue
|
||||||
|
working-directory: ./main-repo-triage
|
||||||
|
run: python3 single_issue_gha.py
|
||||||
|
env:
|
||||||
|
GH_TOKEN: ${{ secrets.JF_BOT_TOKEN }}
|
||||||
|
GH_REPO: ${{ github.repository }}
|
||||||
|
ISSUE: ${{ github.event.issue.number }}
|
Loading…
x
Reference in New Issue
Block a user