Skip to content

Conversation

@mmcky
Copy link
Contributor

@mmcky mmcky commented Nov 23, 2025

This PR fixes the publish workflow to properly support the git metadata features in quantecon-book-theme 0.12.0.

Issue

The publish workflow was missing fetch-depth: 0 in the checkout step, which means it only fetches a shallow clone without full git history. This prevents the theme from:

  • Displaying the last modified timestamp
  • Showing commit history in the changelog dropdown
  • Linking to commit hashes and full history on GitHub

Solution

Added fetch-depth: 0 to the checkout action in the publish workflow, matching the configuration already present in the CI workflow.

Context

The CI workflow already has this configuration (line 22), and the lecture-python-programming.myst repository also has it in both workflows. This brings consistency across all workflows.

@mmcky mmcky merged commit 2f38808 into main Nov 23, 2025
1 check passed
@mmcky mmcky deleted the fix-publish-git-history branch November 23, 2025 10:05
@github-actions
Copy link

📖 Netlify Preview Ready!

Preview URL: https://pr-731--sunny-cactus-210e3e.netlify.app (0eebb08)

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.

2 participants