From ced9d41f5540fa9c3df4af31d410597e13037234 Mon Sep 17 00:00:00 2001 From: ConfusedPolarBear <33811686+ConfusedPolarBear@users.noreply.github.com> Date: Fri, 10 Jun 2022 16:14:09 -0500 Subject: [PATCH] Remove unused workflows --- .github/workflows/build.yaml | 18 ----------------- .../workflows/{build-custom.yml => build.yml} | 4 ++-- .github/workflows/bump-version.yaml | 14 ------------- .github/workflows/changelog.yaml | 20 ------------------- .github/workflows/command-dispatch.yaml | 13 ------------ .github/workflows/command-rebase.yaml | 16 --------------- .github/workflows/publish.yaml | 18 ----------------- .github/workflows/scan-codeql.yaml | 12 ----------- .github/workflows/sync-labels.yaml | 12 ----------- 9 files changed, 2 insertions(+), 125 deletions(-) delete mode 100644 .github/workflows/build.yaml rename .github/workflows/{build-custom.yml => build.yml} (86%) delete mode 100644 .github/workflows/bump-version.yaml delete mode 100644 .github/workflows/changelog.yaml delete mode 100644 .github/workflows/command-dispatch.yaml delete mode 100644 .github/workflows/command-rebase.yaml delete mode 100644 .github/workflows/publish.yaml delete mode 100644 .github/workflows/scan-codeql.yaml delete mode 100644 .github/workflows/sync-labels.yaml diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml deleted file mode 100644 index f290747..0000000 --- a/.github/workflows/build.yaml +++ /dev/null @@ -1,18 +0,0 @@ -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 diff --git a/.github/workflows/build-custom.yml b/.github/workflows/build.yml similarity index 86% rename from .github/workflows/build-custom.yml rename to .github/workflows/build.yml index 9708263..3bb9cf8 100644 --- a/.github/workflows/build-custom.yml +++ b/.github/workflows/build.yml @@ -1,4 +1,4 @@ -name: .NET +name: 'Build Plugin' on: push: @@ -20,7 +20,7 @@ jobs: - name: Restore dependencies run: dotnet restore - name: Install fpcalc - run: apt install -y libchromaprint-tools + run: sudo apt install -y libchromaprint-tools - name: Test run: dotnet test --no-build --verbosity normal - name: Build diff --git a/.github/workflows/bump-version.yaml b/.github/workflows/bump-version.yaml deleted file mode 100644 index d0d26da..0000000 --- a/.github/workflows/bump-version.yaml +++ /dev/null @@ -1,14 +0,0 @@ -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: ConfusedPolarBear.Plugin.IntroSkipper - is-unstable: ${{ github.event.release.prerelease }} diff --git a/.github/workflows/changelog.yaml b/.github/workflows/changelog.yaml deleted file mode 100644 index 5b3c3be..0000000 --- a/.github/workflows/changelog.yaml +++ /dev/null @@ -1,20 +0,0 @@ -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 }} diff --git a/.github/workflows/command-dispatch.yaml b/.github/workflows/command-dispatch.yaml deleted file mode 100644 index 1b5e4ee..0000000 --- a/.github/workflows/command-dispatch.yaml +++ /dev/null @@ -1,13 +0,0 @@ -# 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: . diff --git a/.github/workflows/command-rebase.yaml b/.github/workflows/command-rebase.yaml deleted file mode 100644 index 7847e20..0000000 --- a/.github/workflows/command-rebase.yaml +++ /dev/null @@ -1,16 +0,0 @@ -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 }} diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml deleted file mode 100644 index 80483cf..0000000 --- a/.github/workflows/publish.yaml +++ /dev/null @@ -1,18 +0,0 @@ -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 }} diff --git a/.github/workflows/scan-codeql.yaml b/.github/workflows/scan-codeql.yaml deleted file mode 100644 index ef0fe87..0000000 --- a/.github/workflows/scan-codeql.yaml +++ /dev/null @@ -1,12 +0,0 @@ -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 diff --git a/.github/workflows/sync-labels.yaml b/.github/workflows/sync-labels.yaml deleted file mode 100644 index 5e06ae4..0000000 --- a/.github/workflows/sync-labels.yaml +++ /dev/null @@ -1,12 +0,0 @@ -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 }}