-
-
Notifications
You must be signed in to change notification settings - Fork 37
27 lines (22 loc) · 799 Bytes
/
Copy pathupdate-manifest.yml
File metadata and controls
27 lines (22 loc) · 799 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
name: Update Manifest
on:
schedule:
- cron: '0 0 * * 6'
workflow_dispatch:
permissions:
contents: write
jobs:
update:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
- name: Fetch upstream manifest
run: curl -fsSL https://repo.jellyfin.org/files/plugin/manifest.json -o modules/jellyfin/system/jellyfin-stable-plugin-manifest.json
- name: Commit and push if changed
run: |
git diff --exit-code manifest.json && echo "No changes." && exit 0
git config user.name "github-actions[bot]"
git config user.email "github-actions[bot]@users.noreply.github.com"
git add modules/jellyfin/system/jellyfin-stable-plugin-manifest.json
git commit -m "chore: update manifests"
git push