Bump cinny for Android updates dialog fix and add release notes manifest workflow.
Some checks failed
Some checks failed
This commit is contained in:
35
.github/workflows/update-manifest.yml
vendored
Normal file
35
.github/workflows/update-manifest.yml
vendored
Normal file
@@ -0,0 +1,35 @@
|
||||
name: Update release notes manifest
|
||||
|
||||
on:
|
||||
push:
|
||||
paths:
|
||||
- 'cinny/public/update/*.md'
|
||||
- 'scripts/generate-update-manifest.mjs'
|
||||
|
||||
permissions:
|
||||
contents: write
|
||||
|
||||
jobs:
|
||||
manifest:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: '20'
|
||||
|
||||
- name: Generate manifest.json
|
||||
run: node scripts/generate-update-manifest.mjs
|
||||
|
||||
- name: Commit manifest if changed
|
||||
run: |
|
||||
if git diff --quiet -- cinny/public/update/manifest.json; then
|
||||
echo "manifest.json unchanged"
|
||||
exit 0
|
||||
fi
|
||||
git config user.name "github-actions[bot]"
|
||||
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
|
||||
git add cinny/public/update/manifest.json
|
||||
git commit -m "chore: regenerate update manifest.json"
|
||||
git push
|
||||
Reference in New Issue
Block a user