Update Manifest #1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Update Manifest | |
| on: | |
| schedule: | |
| - cron: '0 0 * * 6' | |
| workflow_dispatch: | |
| permissions: | |
| contents: write | |
| jobs: | |
| update: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - 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 |