mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-01-15 23:58:57 +00:00
Some checks failed
Stale PR Check / Check PRs with merge conflicts (push) Has been cancelled
CodeQL / Analyze (csharp) (push) Has been cancelled
OpenAPI / OpenAPI - HEAD (push) Has been cancelled
OpenAPI / OpenAPI - BASE (push) Has been cancelled
OpenAPI / OpenAPI - Difference (push) Has been cancelled
OpenAPI / OpenAPI - Publish Unstable Spec (push) Has been cancelled
OpenAPI / OpenAPI - Publish Stable Spec (push) Has been cancelled
Tests / run-tests (macos-latest) (push) Has been cancelled
Tests / run-tests (ubuntu-latest) (push) Has been cancelled
Tests / run-tests (windows-latest) (push) Has been cancelled
Project Automation / Project board (push) Has been cancelled
Merge Conflict Labeler / Labeling (push) Has been cancelled
Stale Issue Labeler / Check for stale issues (push) Has been cancelled
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
61 lines
2.0 KiB
YAML
61 lines
2.0 KiB
YAML
name: Commands
|
|
on:
|
|
issue_comment:
|
|
types:
|
|
- created
|
|
- edited
|
|
pull_request_target:
|
|
types:
|
|
- labeled
|
|
- synchronize
|
|
|
|
permissions: {}
|
|
jobs:
|
|
rebase:
|
|
name: Rebase
|
|
if: github.event.issue.pull_request != '' && contains(github.event.comment.body, '@jellyfin-bot rebase') && github.event.comment.author_association == 'MEMBER'
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Notify as seen
|
|
uses: peter-evans/create-or-update-comment@71345be0265236311c031f5c7866368bd1eff043 # v4.0.0
|
|
with:
|
|
token: ${{ secrets.JF_BOT_TOKEN }}
|
|
comment-id: ${{ github.event.comment.id }}
|
|
reactions: '+1'
|
|
|
|
- name: Checkout the latest code
|
|
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
|
|
with:
|
|
token: ${{ secrets.JF_BOT_TOKEN }}
|
|
fetch-depth: 0
|
|
|
|
- name: Automatic Rebase
|
|
uses: cirrus-actions/rebase@b87d48154a87a85666003575337e27b8cd65f691 # 1.8
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.JF_BOT_TOKEN }}
|
|
|
|
rename:
|
|
name: Rename
|
|
if: contains(github.event.comment.body, '@jellyfin-bot rename') && github.event.comment.author_association == 'MEMBER'
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: pull in script
|
|
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
|
|
with:
|
|
repository: jellyfin/jellyfin-triage-script
|
|
- name: install python
|
|
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
|
|
with:
|
|
python-version: '3.13'
|
|
cache: 'pip'
|
|
- name: install python packages
|
|
run: pip install -r rename/requirements.txt
|
|
- name: run rename script
|
|
run: python3 rename.py
|
|
working-directory: ./rename
|
|
env:
|
|
GH_TOKEN: ${{ secrets.JF_BOT_TOKEN }}
|
|
GH_REPO: ${{ github.repository }}
|
|
ISSUE: ${{ github.event.issue.number }}
|
|
COMMENT_ID: ${{ github.event.comment.id }}
|