Use meta ci

This commit is contained in:
Cody Robibero 2022-03-19 08:39:58 -06:00
parent 2b6339034d
commit 3debd33920
11 changed files with 179 additions and 0 deletions

29
.github/dependabot.yml vendored Normal file
View File

@ -0,0 +1,29 @@
version: 2
updates:
# Fetch and update latest `nuget` pkgs
- package-ecosystem: nuget
directory: /
schedule:
interval: weekly
open-pull-requests-limit: 10
labels:
- chore
- dependency
- nuget
commit-message:
prefix: chore
include: scope
# Fetch and update latest `github-actions` pkgs
- package-ecosystem: github-actions
directory: /
schedule:
interval: monthly
open-pull-requests-limit: 10
labels:
- ci
- dependency
- github_actions
commit-message:
prefix: ci
include: scope

9
.github/release-drafter.yml vendored Normal file
View File

@ -0,0 +1,9 @@
_extends: jellyfin-meta-plugins
template: |
<!-- Optional: add a release summary here -->
[Plugin build can be downloaded here](https://repo.jellyfin.org/releases/plugin/simkl/simkl_$NEXT_MAJOR_VERSION.0.0.0.zip).
## :sparkles: What's New
$CHANGES

18
.github/workflows/build.yaml vendored Normal file
View File

@ -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
.github/workflows/bump-version.yaml vendored Normal file
View File

@ -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.Simkl
is-unstable: ${{ github.event.release.prerelease }}

20
.github/workflows/changelog.yaml vendored Normal file
View File

@ -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-simkl
secrets:
token: ${{ secrets.JF_BOT_TOKEN }}

13
.github/workflows/command-dispatch.yaml vendored Normal file
View File

@ -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: ${{ secrets.JF_BOT_TOKEN }}

16
.github/workflows/command-rebase.yaml vendored Normal file
View File

@ -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.JF_BOT_TOKEN }}

18
.github/workflows/publish.yaml vendored Normal file
View File

@ -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
.github/workflows/scan-codeql.yaml vendored Normal file
View File

@ -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-simkl

12
.github/workflows/sync-labels.yaml vendored Normal file
View File

@ -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 }}

18
.github/workflows/test.yaml vendored Normal file
View File

@ -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