Fix Publish Envs workflow to discover environments packages#10
Open
grp06 wants to merge 1 commit into
Open
Conversation
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
cookbook/recipes/*discovery withenvironments/**/pyproject.tomldiscovery.env_name,env_path, andversionfrom package metadata.prime env push -p "$ENV_PATH" --auto-bumpwhile preserving the existing unchanged-content handling.Evidence
Before, the old detector found no packages:
After, the workflow detector emits ten environment entries, including nested patent-search packages. Local validation confirmed these names:
Validation
detect-envsrun block locally. It wrotehas_envs=trueand a ten-entrymatrix={"include": [...]}to$GITHUB_OUTPUT.env_pathcontains apyproject.toml.git diff --check -- .github/workflows/publish-envs.yaml..github/workflows/publish-envs.yamlwith Ruby YAML.Not run
prime env push, because it requires repository secrets and Environments Hub publish permissions.actionlint, because it is not installed locally.uv run pre-commit run --files .github/workflows/publish-envs.yaml, because dependency resolution failed before hooks ran: the resolver reports onlyverifiers<=0.1.12.dev1available while the project requiresverifiers>=0.1.15.dev6.