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
6 changes: 3 additions & 3 deletions templates/.github/workflows/notify-jit-knowledge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ name: Notify jit-knowledge of engram/bundle/rules change
# Posts a repository_dispatch event to jit-knowledge so refresh-index.yml regenerates
# the Routing Index in INDEX.md.
#
# Requires repo secret JIT_KNOWLEDGE_DISPATCH_TOKEN -- fine-grained PAT scoped to
# Requires repo secret JITAI_OPENCLAW_PROD -- fine-grained PAT scoped to
# Contents:write on dstolts/jit-knowledge. See
# https://github.com/dstolts/jit-knowledge/blob/main/projects/dispatch-token-setup.md

Expand All @@ -29,10 +29,10 @@ jobs:
steps:
- name: Dispatch knowledge-changed to jit-knowledge
env:
GH_TOKEN: ${{ secrets.JIT_KNOWLEDGE_DISPATCH_TOKEN }}
GH_TOKEN: ${{ secrets.JITAI_OPENCLAW_PROD }}
run: |
if [ -z "${GH_TOKEN}" ]; then
echo "ERROR: JIT_KNOWLEDGE_DISPATCH_TOKEN secret not set. Distribute via projects/dispatch-token-setup.md loop."
echo "ERROR: JITAI_OPENCLAW_PROD secret not set. Distribute via projects/dispatch-token-setup.md loop."
exit 1
fi
gh api -X POST repos/dstolts/jit-knowledge/dispatches \
Expand Down
Loading