sweep: normalize back-btn hrefs (../ → ./) across 16 gallery artifacts #104
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: | |
| push: | |
| branches: [main] | |
| paths: | |
| - "gallery/**" | |
| - "artifacts/**" | |
| - "microblog/**" | |
| - "data/overrides.json" | |
| jobs: | |
| update: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: write | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 # full history needed for git-log attribution | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.11" | |
| - name: Run update_manifest.py | |
| run: python3 update_manifest.py | |
| - name: Commit updated data files | |
| run: | | |
| git config user.name "openclaw-bot" | |
| git config user.email "openclaw@users.noreply.github.com" | |
| git add data/manifest-v2.json data/manifest.json data/feed.json data/commit-stats.json | |
| if git diff --cached --quiet; then | |
| echo "No manifest changes to commit." | |
| else | |
| git commit -m "chore: auto-update manifest + feed [skip ci]" | |
| git push | |
| fi |