Commit 8094604
Add auto-generated state-event model and SVG diagram with GitHub Page… (#6332)
* Add auto-generated state-event model and SVG diagram with GitHub Pages publishing
Introduces scripts to parse CCD definition JSON files into a structured
state-event model, enrich it with resolved state transitions from Java
handlers and BPMN workflows, and generate an SVG diagram. Includes a
GitHub Actions workflow to publish the SVG and model JSON to GitHub Pages
on push to master and weekly on Monday mornings.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* Fix ESLint no-unused-vars errors in state-event scripts
Remove unused variables: trunc, SEP_H, wcStart, extraH, envelopeX,
envelopeY, ev (loop var), dir, and handlerPkg.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* Exclude state-event scripts from SonarQube analysis
These are build/documentation utility scripts, not application code.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* Move workflow permissions to job level for least-privilege security
Build job only needs contents:read. Deploy job already had its own
pages:write and id-token:write scoped at job level.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* DTSCCI-4116: Publish pages in github
* Add pull_request and workflow_dispatch triggers to state-event workflow
Enables the workflow to run on PRs (build only, no deploy) and to be
triggered manually. Also adds main branch alongside master.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* Allow GitHub Pages deployment from PR branches
Removes the pull_request guard on deploy-pages so the state-event
model can be previewed before merging.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* Restrict Pages deploy to non-PR events, add downloadable artifacts
PR branches cannot deploy to the github-pages environment due to
protection rules. The deploy step is now guarded. A separate
upload-artifact step provides downloadable SVG/JSON from any PR run.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>1 parent bf380a2 commit 8094604
File tree
6 files changed
+1355
-1
lines changed- .github/workflows
- bin/utils
6 files changed
+1355
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
0 commit comments