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.

add notifier action

Kian Jones15b0aa734b30
diff --git a/.github/workflows/notify-on-update.yaml b/.github/workflows/notify-on-update.yaml
new file mode 100644
index 000000000..219fcc227
--- /dev/null
+++ b/.github/workflows/notify-on-update.yaml
@@ -0,0 +1,27 @@
+name: Notify Submodule Repos
+on:
+ push:
+ branches: [main]
+
+jobs:
+ notify:
+ runs-on: ubuntu-latest
+ steps:
+ - name: Generate GitHub App Token
+ id: app-token
+ uses: actions/create-github-app-token@v1
+ with:
+ app-id: ${{ secrets.NOTIFIER_APP_ID }}
+ private-key: ${{ secrets.NOTIFIER_PRIVATE_KEY }}
+
+ - name: Repository Dispatch
+ uses: peter-evans/repository-dispatch@v3
+ with:
+ token: ${{ steps.app-token.outputs.token }}
+ repository: letta-ai/letta-cloud
+ event-type: letta-main-updated
+ client-payload: |
+ {
+ "commit_sha": "${{ github.sha }}",
+ "ref": "${{ github.ref }}"
+ }
\ No newline at end of file