Skip to content

Commit a14bf30

Browse files
committed
Add CodeBoarding architecture analysis: add codeboarding-sync.yml
1 parent 8db85c1 commit a14bf30

1 file changed

Lines changed: 48 additions & 0 deletions

File tree

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
name: CodeBoarding sync
2+
3+
on:
4+
push:
5+
branches: ['dev']
6+
# Loop guard: don't re-trigger on the files this workflow itself commits.
7+
# List generated files only: user-authored scope configuration must still trigger
8+
# regeneration, while a merged sync PR must not trigger a loop.
9+
paths-ignore:
10+
- '.codeboarding/*.md'
11+
- '.codeboarding/analysis.json'
12+
- '.codeboarding/fingerprint.json'
13+
- '.codeboarding/static_analysis.pkl'
14+
- '.codeboarding/static_analysis.sha'
15+
- '.codeboarding/codeboarding_version.json'
16+
- '.codeboarding/health/health_report.json'
17+
- 'docs/development/architecture.md'
18+
workflow_dispatch:
19+
inputs:
20+
force_full:
21+
description: 'Ignore the committed baseline and rebuild it from scratch (full analysis).'
22+
type: boolean
23+
required: false
24+
default: false
25+
26+
permissions:
27+
contents: write # commit the generated baseline + docs to the branch
28+
id-token: write # identifies this repo to CodeBoarding's hosted tier, used by the free
29+
# tier AND a license, and as the fallback until your own key exists
30+
31+
concurrency:
32+
# Serialize against itself so a push landing mid-run can't make two commits.
33+
group: codeboarding-sync
34+
cancel-in-progress: false
35+
36+
jobs:
37+
sync:
38+
runs-on: ubuntu-latest
39+
timeout-minutes: 60
40+
steps:
41+
- uses: CodeBoarding/CodeBoarding-action@v1
42+
with:
43+
mode: sync
44+
force_full: ${{ inputs.force_full || false }}
45+
target_branch: 'dev'
46+
# CodeBoarding's free hosted tier. No secret to add: the run authenticates
47+
# with the GitHub OIDC token that `id-token: write` above grants.
48+
llm: hosted

0 commit comments

Comments
 (0)