Skip to content

Commit

Permalink
Merge pull request #46 from jellyfin/ci
Browse files Browse the repository at this point in the history
  • Loading branch information
crobibero authored Mar 19, 2022
2 parents 7af4869 + 4afb53e commit 08963d4
Show file tree
Hide file tree
Showing 12 changed files with 141 additions and 112 deletions.
36 changes: 0 additions & 36 deletions .github/workflows/build-dotnet.yml

This file was deleted.

18 changes: 18 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: '🏗️ Build Plugin'

on:
push:
branches:
- master
paths-ignore:
- '**/*.md'
pull_request:
branches:
- master
paths-ignore:
- '**/*.md'
workflow_dispatch:

jobs:
call:
uses: jellyfin/jellyfin-meta-plugins/.github/workflows/build.yaml@master
14 changes: 14 additions & 0 deletions .github/workflows/bump-version.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: "🆙 Bump Version"

on:
release:
types:
- published
workflow_dispatch:

jobs:
call:
uses: jellyfin/jellyfin-meta-plugins/.github/workflows/bump-version.yaml@master
with:
csproj-name: Jellyfin.Plugin.Template
is-unstable: ${{ github.event.release.prerelease }}
20 changes: 20 additions & 0 deletions .github/workflows/changelog.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: '📝 Create/Update Release Draft & Release Bump PR'

on:
push:
branches:
- master
paths-ignore:
- build.yaml
workflow_dispatch:
repository_dispatch:
types:
- update-prep-command

jobs:
call:
uses: jellyfin/jellyfin-meta-plugins/.github/workflows/changelog.yaml@master
with:
repository-name: jellyfin/jellyfin-plugin-template
secrets:
token: ${{ secrets.GITHUB_TOKEN }}
45 changes: 0 additions & 45 deletions .github/workflows/codeql-analysis.yml

This file was deleted.

13 changes: 13 additions & 0 deletions .github/workflows/command-dispatch.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Allows for the definition of PR and Issue /commands
name: '📟 Slash Command Dispatcher'

on:
issue_comment:
types:
- created

jobs:
call:
uses: jellyfin/jellyfin-meta-plugins/.github/workflows/command-dispatch.yaml@master
secrets:
token: .
16 changes: 16 additions & 0 deletions .github/workflows/command-rebase.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: '🔀 PR Rebase Command'

on:
repository_dispatch:
types:
- rebase-command

jobs:
call:
uses: jellyfin/jellyfin-meta-plugins/.github/workflows/command-rebase.yaml@master
with:
rebase-head: ${{ github.event.client_payload.pull_request.head.label }}
repository-full-name: ${{ github.event.client_payload.github.payload.repository.full_name }}
comment-id: ${{ github.event.client_payload.github.payload.comment.id }}
secrets:
token: ${{ secrets.GITHUB_TOKEN }}
18 changes: 18 additions & 0 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: '🚀 Publish Plugin'

on:
release:
types:
- released
workflow_dispatch:

jobs:
call:
uses: jellyfin/jellyfin-meta-plugins/.github/workflows/publish.yaml@master
with:
version: ${{ github.event.release.tag_name }}
is-unstable: ${{ github.event.release.prerelease }}
secrets:
deploy-host: ${{ secrets.DEPLOY_HOST }}
deploy-user: ${{ secrets.DEPLOY_USER }}
deploy-key: ${{ secrets.DEPLOY_KEY }}
12 changes: 12 additions & 0 deletions .github/workflows/scan-codeql.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: '🔬 Run CodeQL'

on:
push:
pull_request:
workflow_dispatch:

jobs:
call:
uses: jellyfin/jellyfin-meta-plugins/.github/workflows/scan-codeql.yaml@master
with:
repository-name: jellyfin/jellyfin-plugin-template
12 changes: 12 additions & 0 deletions .github/workflows/sync-labels.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: '🏷️ Sync labels'

on:
schedule:
- cron: '0 0 1 * *'
workflow_dispatch:

jobs:
call:
uses: jellyfin/jellyfin-meta-plugins/.github/workflows/sync-labels.yaml@master
secrets:
token: ${{ secrets.GITHUB_TOKEN }}
31 changes: 0 additions & 31 deletions .github/workflows/test-dotnet.yml

This file was deleted.

18 changes: 18 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: '🧪 Test Plugin'

on:
push:
branches:
- master
paths-ignore:
- '**/*.md'
pull_request:
branches:
- master
paths-ignore:
- '**/*.md'
workflow_dispatch:

jobs:
call:
uses: jellyfin/jellyfin-meta-plugins/.github/workflows/test.yaml@master

0 comments on commit 08963d4

Please sign in to comment.