Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 17 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -356,8 +356,20 @@ jobs:
cp mem0-aio.xml target-repo/mem0-aio.xml
mkdir -p target-repo/icons
cp assets/mem0.jpeg target-repo/icons/mem0.jpeg
cd target-repo
git config user.name "github-actions[bot]"
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
git add mem0-aio.xml icons/mem0.jpeg
git diff --quiet && git diff --staged --quiet || (git commit -m "chore: auto-sync mem0-aio assets from upstream" && git push)

- name: Create sync pull request
if: ${{ steps.token.outputs.enabled == 'true' }}
uses: peter-evans/create-pull-request@c0f553fe549906ede9cf27b5156039d195d2ece0 # v8.1.0
with:
token: ${{ secrets.SYNC_TOKEN }}
path: target-repo
add-paths: |
mem0-aio.xml
icons/mem0.jpeg
commit-message: "chore: auto-sync mem0-aio assets from upstream"
branch: "sync-awesome-unraid/mem0-aio"
delete-branch: true
base: main
title: "chore: sync mem0-aio template assets"
body: |
Automated sync from `JSONbored/mem0-aio`.