Improve consistency of uv use in worfklows
#948
Merged
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.
This PR
pip install -r requirements.txtwithuv sync...and ensures that the deploy_site.yml workflow functions as intended.data/schema/currentthat changed with PR Refactor JSON schema generation for consistency #946data/schema/v2that changed in PR Refactor JSON schema generation for consistency #946data/schema/v2/README.mdto explain the linksThis branch has already been confirmed to work in https://github.com/CERTCC/SSVC-staging/actions/runs/17676879600
Copilot Summary
This pull request updates the schema file naming conventions and improves dependency management in the GitHub workflow files. The main changes include switching to new schema filenames with soft links for backward compatibility, updating workflow steps to use the
uvpackage manager, and ensuring workflows are triggered on changes to the new dependency file.Schema file updates and migration:
data/schema/current/*.schema.jsonto point to new schema filenames (e.g.,DecisionPoint_2_0_0.schema.json,SelectionList_2_0_0.schema.json) for improved consistency. [1] [2] [3]data/schema/v2/to map old names to new ones, supporting a smoother transition. [1] [2] [3] [4] [5]README.mdto explain the rationale for the soft links and the automated schema generation process.Workflow and dependency management improvements:
.github/workflows/deploy_site.ymland.github/workflows/link_checker.ymlto use theuvpackage manager for dependency installation and site building, replacing directpipandmkdocscalls for better reliability and reproducibility. [1] [2]src/pyproject.toml, ensuring CI runs when dependencies are updated in the new format..github/workflows/python-app.ymlto useuvconsistently and removed commented-out legacypipcommands.