Skip to content

Add CodeBoarding architecture analysis - #1

Merged
ivanmilevtues merged 1 commit into
mainfrom
codeboarding/setup-action
Dec 3, 2026
Merged

ivanmilevtues merged 1 commit into
mainfrom
codeboarding/setup-action

Conversation

@ivanmilevtues

@ivanmilevtues ivanmilevtues commented Dec 3, 2026 •

Copy link
Copy Markdown
Member

Preview first, merge when ready

View your map · Configure & merge

The preview runs on this pull request. Merge the workflow to keep maps updated. Settings can be changed in this same pull request before merging.

This PR adds CodeBoarding in one workflow file, codeboarding.yml, with two jobs:

  • review keeps an architecture-diff comment current on pull requests and publishes their diagrams for the viewer.
  • sync saves the diagram of main on pushes and manual runs.

Sync delivery

Sync saves the generated diagram on its own codeboarding/baseline branch in this repository; main never changes and there is nothing to merge.

Protect codeboarding/baseline

Sync and review load a Python pickle from that branch, and loading a pickle runs code, so anyone
who can push to it can run code in these workflows. Import a ruleset under Settings, Rules,
Rulesets, New ruleset, Import a ruleset, before the first sync:

  • baseline-branch-ruleset-actions.json fits this workflow
    as generated, which pushes with the default github.token. It stops people pushing by hand,
    but any workflow with contents: write can still write the branch.
  • baseline-branch-ruleset.json lets only the CodeBoarding Review app
    write it. Use it when sync pushes with the app's token as github_token.

More in the baseline branch. Rulesets on a private
repository need a paid GitHub plan.

Cleaned up

  • Deletes the generated files under .codeboarding/ from main (3). The analysis now lives on
    codeboarding/baseline, so a copy here would only go stale. Your configuration (.codeboardingignore, the health settings) stays.

One thing left: add your CODEBOARDING_LICENSE secret

This workflow is wired to run on your CodeBoarding plan. Add your licence key as a
repository secret under Settings → Secrets and variables → Actions:

  • Name: CODEBOARDING_LICENSE
  • Value: the licence key emailed to you after purchase (get one)

Add the secret first. A run started without it fails in its first few seconds and says
which secret is missing, rather than quietly analysing on the free tier instead. Nothing is
wasted either way, but the pull request is a better place to find out than your main branch.

A licence lifts the weekly limit and raises the analysis-depth ceiling from 3 to 10.

Opened for you by CodeBoarding.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Dec 3, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-12-03T10:58:59.952643Z e37a1be PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@github-actions

github-actions Bot commented Dec 3, 2026

Copy link
Copy Markdown

CodeBoarding review - not configured

llm: license needs license_key, which is empty.

1. Add a repository secret named CODEBOARDING_LICENSE, with your CodeBoarding licence key as the value.

2. In .github/workflows/codeboarding.yml, the CodeBoarding step's with: block needs to read:

        with:
          llm: license
          license_key: ${{ secrets.CODEBOARDING_LICENSE }}

No analysis ran, and no CodeBoarding hosted usage was consumed.

run 47091160624 - attempt 1

@ivanmilevtues
ivanmilevtues merged commit ed35fda into main Dec 3, 2026
1 of 6 checks passed
@ivanmilevtues
ivanmilevtues deleted the codeboarding/setup-action branch December 3, 2026 10:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant