* wait I forgot to comit locally * cp the entire core directory and then rm the .git subdir
29 lines
792 B
YAML
29 lines
792 B
YAML
name: Notify Submodule Repos
|
|
on:
|
|
push:
|
|
branches: [main]
|
|
workflow_dispatch:
|
|
|
|
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 }}
|
|
repositories: letta-cloud
|
|
|
|
- name: Repository Dispatch
|
|
uses: peter-evans/repository-dispatch@v3.0.0
|
|
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 }}"
|
|
} |