Skip to content

armgit / letta

Public Imported from GitHub
0

Platform for stateful agents: AI with advanced memory that can learn and self-improve over time.

feat: Add GitHub Actions workflow to notify Letta Cloud on main branch pushes (#2337)

Stephan Fitzpatrick0d31c4da1cc8
diff --git a/.github/workflows/notify-letta-cloud.yml b/.github/workflows/notify-letta-cloud.yml
new file mode 100644
index 000000000..0874be590
--- /dev/null
+++ b/.github/workflows/notify-letta-cloud.yml
@@ -0,0 +1,19 @@
+name: Notify Letta Cloud
+
+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"}'