chore: update workflows (#2367)

This commit is contained in:
Charles Packer
2025-01-20 18:36:51 -08:00
committed by GitHub
parent 46375756a1
commit 0fbf127e05

19
.github/workflows/letta-code-sync.yml vendored Normal file
View File

@@ -0,0 +1,19 @@
name: Sync Code
on:
push:
branches:
- main
jobs:
notify:
runs-on: ubuntu-latest
if: ${{ !contains(github.event.head_commit.message, '[sync-skip]') }}
steps:
- name: Trigger repository_dispatch
run: |
curl -X POST \
-H "Authorization: token ${{ secrets.SYNC_PAT }}" \
-H "Accept: application/vnd.github.v3+json" \
https://api.github.com/repos/letta-ai/letta-cloud/dispatches \
-d '{"event_type":"oss-update"}'