Skip to content

Commit 952f900

Browse files
peuf0uclaude
andauthored
ci: notify codebase-architectures on fork release (#10)
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 72b037c commit 952f900

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

.github/workflows/release-bundle.yml

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

0 commit comments

Comments
 (0)