Skip to content

Update .version.json #83

Update .version.json

Update .version.json #83

# .github/workflows/generate-manifest.yml
name: Generate Manifest
on:
push:
branches: [main]
workflow_dispatch:
jobs:
build-manifest:
runs-on: ubuntu-latest
steps:
- name: Checkout repository (full history)
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '18'
- name: Run manifest generator
run: node .scripts/generate-manifest.mjs
- name: Commit and push if changed
run: |
git config user.name "github-actions[bot]"
git config user.email "github-actions[bot]@users.noreply.github.com"
git add manifest.json
git diff --quiet && git diff --staged --quiet || git commit -m "🤖 Auto-update manifest.json"
git push