ci: format github yml files

This commit is contained in:
Kilian von Pflugk 2024-10-06 19:03:15 +02:00
parent 45afbed8b0
commit 27af7f29f4
6 changed files with 167 additions and 169 deletions

View File

@ -74,4 +74,3 @@ body:
label: Jellyfin logs label: Jellyfin logs
placeholder: Paste any relevant logs here placeholder: Paste any relevant logs here
render: shell render: shell

View File

@ -18,7 +18,7 @@ updates:
- package-ecosystem: github-actions - package-ecosystem: github-actions
directory: / directory: /
schedule: schedule:
interval: monthly interval: weekly
open-pull-requests-limit: 10 open-pull-requests-limit: 10
labels: labels:
- ci - ci

View File

@ -1,22 +1,22 @@
name: 'Build Plugin' name: "Build Plugin"
on: on:
push: push:
branches: ["master"] branches: ["master"]
paths-ignore: paths-ignore:
- '**/README.md' - "**/README.md"
- '.github/ISSUE_TEMPLATE/**' - ".github/ISSUE_TEMPLATE/**"
- 'docs/**' - "docs/**"
- 'images/**' - "images/**"
- 'manifest.json' - "manifest.json"
pull_request: pull_request:
branches: ["master"] branches: ["master"]
paths-ignore: paths-ignore:
- '**/README.md' - "**/README.md"
- '.github/ISSUE_TEMPLATE/**' - ".github/ISSUE_TEMPLATE/**"
- 'docs/**' - "docs/**"
- 'images/**' - "images/**"
- 'manifest.json' - "manifest.json"
permissions: permissions:
contents: write contents: write
@ -47,7 +47,7 @@ jobs:
- name: Setup Node.js - name: Setup Node.js
uses: actions/setup-node@v4 uses: actions/setup-node@v4
with: with:
node-version: 'lts/*' node-version: "lts/*"
- name: Install html-minifier-terser - name: Install html-minifier-terser
run: npm install terser html-minifier-terser run: npm install terser html-minifier-terser

View File

@ -4,19 +4,19 @@ on:
push: push:
branches: [master] branches: [master]
paths-ignore: paths-ignore:
- '**/README.md' - "**/README.md"
- '.github/ISSUE_TEMPLATE/**' - ".github/ISSUE_TEMPLATE/**"
- 'docs/**' - "docs/**"
- 'images/**' - "images/**"
- 'manifest.json' - "manifest.json"
pull_request: pull_request:
branches: [master] branches: [master]
paths-ignore: paths-ignore:
- '**/README.md' - "**/README.md"
- '.github/ISSUE_TEMPLATE/**' - ".github/ISSUE_TEMPLATE/**"
- 'docs/**' - "docs/**"
- 'images/**' - "images/**"
- 'manifest.json' - "manifest.json"
permissions: write-all permissions: write-all
@ -31,7 +31,7 @@ jobs:
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
language: [ 'csharp' ] language: ["csharp"]
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4

View File

@ -1,4 +1,4 @@
name: 'Release Plugin' name: "Release Plugin"
on: on:
workflow_dispatch: workflow_dispatch:
@ -8,7 +8,6 @@ permissions:
jobs: jobs:
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
@ -22,7 +21,7 @@ jobs:
- name: Setup Node.js - name: Setup Node.js
uses: actions/setup-node@v4 uses: actions/setup-node@v4
with: with:
node-version: 'lts/*' node-version: "lts/*"
- name: Install html-minifier-terser - name: Install html-minifier-terser
run: npm install terser html-minifier-terser run: npm install terser html-minifier-terser
@ -39,7 +38,7 @@ jobs:
- name: Run update version - name: Run update version
uses: intro-skipper/intro-skipper-action-ts@main uses: intro-skipper/intro-skipper-action-ts@main
with: with:
task-type: 'updateVersion' task-type: "updateVersion"
- name: Embed version info - name: Embed version info
run: | run: |
@ -67,7 +66,7 @@ jobs:
- name: Run validation and update script - name: Run validation and update script
uses: intro-skipper/intro-skipper-action-ts@main uses: intro-skipper/intro-skipper-action-ts@main
with: with:
task-type: 'updateManifest' task-type: "updateManifest"
env: env:
GITHUB_REPO_VISIBILITY: ${{ github.event.repository.visibility }} GITHUB_REPO_VISIBILITY: ${{ github.event.repository.visibility }}

View File

@ -17,7 +17,7 @@ jobs:
- name: Setup Node.js environment - name: Setup Node.js environment
uses: actions/setup-node@v4 uses: actions/setup-node@v4
with: with:
node-version: '>=20' node-version: ">=20"
- name: Checkout official jellyfin-web - name: Checkout official jellyfin-web
uses: actions/checkout@v4 uses: actions/checkout@v4
with: with: