mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2026-10-26 16:45:18 +00:00
30 lines
1.0 KiB
YAML
30 lines
1.0 KiB
YAML
name: Project Automation
|
|
|
|
on:
|
|
pull_request:
|
|
types: [opened, reopened, synchronize, ready_for_review, edited]
|
|
pull_request_review:
|
|
types: [submitted]
|
|
pull_request_target:
|
|
types: [closed]
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
project-board:
|
|
name: Release project board
|
|
runs-on: ubuntu-latest
|
|
if: ${{ github.repository == 'jellyfin/jellyfin-web' && (github.event_name != 'pull_request_target' || github.event.pull_request.head.repo.full_name == github.repository) }}
|
|
steps:
|
|
- name: Update project board
|
|
uses: jellyfin/jellyfin-packaging/.github/actions/project-automation@12a5fb713de032ee311b5ec9c2639293aa329665 # master
|
|
with:
|
|
github-token: ${{ secrets.GH_PROJECTS_TOKEN }}
|
|
repo: jellyfin-web
|
|
event-name: ${{ github.event_name }}
|
|
base-ref: ${{ github.event.pull_request.base.ref }}
|
|
pr-number: ${{ github.event.pull_request.number }}
|
|
pr-merged: ${{ github.event.pull_request.merged }}
|
|
required-approvals: '1'
|