mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-17 19:08:18 -07:00
29 lines
969 B
YAML
29 lines
969 B
YAML
name: Commands
|
|
on:
|
|
issue_comment:
|
|
types:
|
|
- created
|
|
- edited
|
|
|
|
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@5adcb0bb0f9fb3f95ef05400558bdb3f329ee808 # tag=v2.1.0
|
|
with:
|
|
token: ${{ secrets.JF_BOT_TOKEN }}
|
|
comment-id: ${{ github.event.comment.id }}
|
|
reactions: '+1'
|
|
- name: Checkout the latest code
|
|
uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.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 }}
|