Skip to content

Link check never builds the base commit #42

Backlog

Description

@madolson

The link check never builds the base commit, so every PR is compared against nothing and lists all broken links as if the PR added them. link-check.yml checks the base out with git worktree add, whose .git file points at website/.git/worktrees/base by host path, and zola-deploy-action runs git inside its container, where that path doesn't exist.

AI generated details

Upstream run https://github.com/valkey-io/valkey-io.github.io/actions/runs/:

fatal: not a git repository: /home/runner/work/valkey-io.github.io/valkey-io.github.io/website/.git/worktrees/base
The base commit didn't build, so every broken link is listed.

Same on https://github.com/madolson/valkey-io.github.io/actions/runs/46379235112 (PR #41). Fix options: check the base out with a second actions/checkout (ref: ${{ github.event.pull_request.base.sha }}, path: base) instead of a worktree, or git worktree add --relative-paths (git 2.48+).

This was generated by AI but verified, with love, by a human.

Activity

  1. added
    bug
    on Nov 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions