Skip to content

Commit 6df1559

Browse files
peuf0uclaude
andauthored
ci: notify codebase-architectures on fork release (#11)
Repository_dispatch the codebase-architectures repo after a tag-driven release publishes. The consumer workflow listens for studio-released events and refreshes its bundled statics without needing studios.json edits. Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 1ee67bf commit 6df1559

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

.github/workflows/release-visualizer-bundle.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,3 +96,13 @@ jobs:
9696
name: dependacharta-visualizer-${{ steps.package.outputs.version }}
9797
path: ${{ steps.package.outputs.archive }}
9898
retention-days: 7
99+
100+
- name: Notify codebase-architectures
101+
if: github.event_name == 'push'
102+
env:
103+
GH_TOKEN: ${{ secrets.CODEBASE_ARCHITECTURES_TOKEN }}
104+
run: |
105+
gh api repos/futuredapp/codebase-architectures/dispatches \
106+
-f event_type=studio-released \
107+
-f 'client_payload[fork]=dependacharta' \
108+
-f 'client_payload[tag]=${{ steps.package.outputs.version }}'

0 commit comments

Comments
 (0)