Skip to content

Fix docs workflow failure in Machine-readable artefacts job - #3

Merged
andreibesleaga merged 2 commits into
mainfrom
copilot/fix-machine-readable-artefacts-failure
Sep 12, 2026
Merged

andreibesleaga merged 2 commits into
mainfrom
copilot/fix-machine-readable-artefacts-failure

Conversation

Copilot AI commented Sep 12, 2026 •

Copy link
Copy Markdown
Contributor

The Machine-readable artefacts GitHub Actions job was failing before any schema validation ran. The failure came from actions/setup-python being configured with pip caching in a repository that does not contain a Python dependency manifest.

  • Root cause

    • actions/setup-python was invoked with cache: pip
    • the action now requires a cache dependency file such as requirements.txt or pyproject.toml
    • this repository installs validators ad hoc and does not define either file
  • Change

    • remove pip cache configuration from the Python setup step in .github/workflows/docs.yml
    • keep the existing validator installation and machine-readable artefact checks unchanged
  • Effect

    • the job proceeds to the intended JSON schema / registry validation steps instead of failing during environment setup
- name: Set up Python
  uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
  with:
    python-version: "3.12"

Co-authored-by: andreibesleaga <33538982+andreibesleaga@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix failing GitHub Actions job 'Machine-readable artefacts' Fix docs workflow failure in Machine-readable artefacts job Sep 12, 2026
@andreibesleaga
andreibesleaga marked this pull request as ready for review September 12, 2026 11:23
Copilot AI lite review requested due to automatic review settings September 12, 2026 11:23
@andreibesleaga
andreibesleaga merged commit 75faf2a into main Sep 12, 2026
5 of 6 checks passed

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟢 Approval recommended

The narrowly scoped workflow fix has no unresolved issues.

Pull request overview

Fixes the documentation workflow failure by removing invalid pip caching from the Python setup step.

Changes:

  • Removes cache: pip.
  • Preserves validator installation and validation checks.
File summaries
File Description
.github/workflows/docs.yml Fixes Python setup for machine-readable artefact validation.
Review details
  • Files reviewed: 1/1 changed files
  • Comments generated: 0
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

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