From ba65c6df16d1d91bb5a7f5a971c2f5851d522ec3 Mon Sep 17 00:00:00 2001
From: K3rnelPan1c <33120068+h1dden-da3m0n@users.noreply.github.com>
Date: Sun, 15 May 2022 23:16:06 +0200
Subject: [PATCH] fix: meta ci workflows
---
.github/dependabot.yml | 29 -------------------
.github/renovate.json | 6 ++++
.github/workflows/bump-version.yaml | 14 ---------
.github/workflows/scan-codeql.yaml | 8 +++++
Directory.Build.props | 7 +++++
.../Jellyfin.Plugin.KodiSyncQueue.csproj | 2 --
6 files changed, 21 insertions(+), 45 deletions(-)
delete mode 100644 .github/dependabot.yml
create mode 100644 .github/renovate.json
delete mode 100644 .github/workflows/bump-version.yaml
create mode 100644 Directory.Build.props
diff --git a/.github/dependabot.yml b/.github/dependabot.yml
deleted file mode 100644
index 325dec4..0000000
--- a/.github/dependabot.yml
+++ /dev/null
@@ -1,29 +0,0 @@
-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
diff --git a/.github/renovate.json b/.github/renovate.json
new file mode 100644
index 0000000..2f561e6
--- /dev/null
+++ b/.github/renovate.json
@@ -0,0 +1,6 @@
+{
+ "$schema": "https://docs.renovatebot.com/renovate-schema.json",
+ "extends": [
+ "github>jellyfin/.github//renovate-presets/default"
+ ]
+}
\ No newline at end of file
diff --git a/.github/workflows/bump-version.yaml b/.github/workflows/bump-version.yaml
deleted file mode 100644
index c98b1da..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: Jellyfin.Plugin.KodiSyncQueue
- is-unstable: ${{ github.event.release.prerelease }}
diff --git a/.github/workflows/scan-codeql.yaml b/.github/workflows/scan-codeql.yaml
index b3fffb8..12ee408 100644
--- a/.github/workflows/scan-codeql.yaml
+++ b/.github/workflows/scan-codeql.yaml
@@ -2,7 +2,15 @@ name: '🔬 Run CodeQL'
on:
push:
+ branches: [ master ]
+ paths-ignore:
+ - '**/*.md'
pull_request:
+ branches: [ master ]
+ paths-ignore:
+ - '**/*.md'
+ schedule:
+ - cron: '24 2 * * 4'
workflow_dispatch:
jobs:
diff --git a/Directory.Build.props b/Directory.Build.props
new file mode 100644
index 0000000..c702921
--- /dev/null
+++ b/Directory.Build.props
@@ -0,0 +1,7 @@
+
+
+ 0.0.0.0
+ 0.0.0.0
+ 0.0.0.0
+
+
diff --git a/Jellyfin.Plugin.KodiSyncQueue/Jellyfin.Plugin.KodiSyncQueue.csproj b/Jellyfin.Plugin.KodiSyncQueue/Jellyfin.Plugin.KodiSyncQueue.csproj
index f52f663..eca4c5f 100644
--- a/Jellyfin.Plugin.KodiSyncQueue/Jellyfin.Plugin.KodiSyncQueue.csproj
+++ b/Jellyfin.Plugin.KodiSyncQueue/Jellyfin.Plugin.KodiSyncQueue.csproj
@@ -2,8 +2,6 @@
net6.0
- 6.0.0.0
- 6.0.0.0
false
true