Repository navigation
Add GitHub Actions workflow for geometry IDF generation - #16
Merged
Merged
Conversation
alexandrecuer
marked this pull request as draft
November 13, 2026 07:11
alexandrecuer
marked this pull request as ready for review
November 13, 2026 17:06
alexjunk
approved these changes
Nov 13, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds a manually triggered GitHub Actions workflow to generate a geometry-only IDF from a YAML configuration, using the published
ladybug_codescontainer image from GHCR.Workflow inputs
image_tag: GHCR image tag (defaults toep24.1.0-9d7789a3ac_idfhub0.0.4).geometry_yaml: optional geometry configuration. Leave it empty to use/opt/ladybug_codes/conf_geometry/example.ymlbundled in the selected image.Pipeline
GITHUB_TOKENand pullsghcr.io/open-building-management/ladybug_codes.Permissions
The workflow requests
packages: read. The GHCR package must grant this repository Actions read access (Package settings → Manage Actions access).Validation scope
The native
workflow_dispatchform cannot run browser-side JavaScript validation. The workflow performs basic input checks; YAML syntax and geometry validation are handled by the generator. A future custom form on GitHub Pages can validate the YAML in JavaScript and dispatch this workflow through the GitHub REST API. That browser integration must use a secure authentication design; no personal access token or GitHub App private key should be exposed in client-side code.