Skip to content

Automate version dashboard updates#689

Open
danielporterda wants to merge 2 commits into
mainfrom
version-dashboard-update-workflow
Open

Automate version dashboard updates#689
danielporterda wants to merge 2 commits into
mainfrom
version-dashboard-update-workflow

Conversation

@danielporterda
Copy link
Copy Markdown
Contributor

@danielporterda danielporterda commented Jun 3, 2026

Summary

Adds focused automation for the Canton Network version dashboard only:

  • adds .github/workflows/update-version-dashboard.yml on a six-hour schedule plus manual dispatch

This PR intentionally does not touch generated reference-doc source pinning or broader codegen automation.

@danielporterda danielporterda force-pushed the version-dashboard-update-workflow branch from 276615b to 5919493 Compare June 3, 2026 18:12
@danielporterda danielporterda marked this pull request as ready for review June 3, 2026 18:15
if: steps.changes.outputs.has_changes == 'true'
uses: peter-evans/create-pull-request@v8
with:
token: ${{ secrets.DOCS_PR_TOKEN || github.token }}
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we have a DOCS_PR_TOKEN? I'd prefer to use the built-in token consistently if it works, rather than add new secrets…

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, we don't. Taking a shotgun approach here, but that's perhaps distasteful. I'll remove it

Copy link
Copy Markdown
Contributor Author

@danielporterda danielporterda Jun 4, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done in b346364. Removed docs_pr_token. also removed peter-evans/create-pull-request, an unpinned & unnecessary dependency

@miller-da
Copy link
Copy Markdown
Contributor

LGTM

@danielporterda danielporterda force-pushed the version-dashboard-update-workflow branch from 5919493 to b346364 Compare June 4, 2026 13:38
@danielporterda danielporterda requested a review from da-tanabe June 4, 2026 14:10
…ate-workflow

# Conflicts:
#	tests/test_generate_network_component_versions.py
set -euo pipefail

git config user.name "github-actions[bot]"
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what is this?

return module


def dashboard_snapshot(*, generated_at: str, splice_version: str = "0.6.3") -> dict:
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why is splice_version defaulted at all here?

Comment thread tests/test_generate_network_component_versions.py
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.

3 participants