Skip to content

Conversation

@zachhannum
Copy link
Contributor

@zachhannum zachhannum commented Jan 13, 2026

pkgdown build was still failing after #323. This PR attempts to fix the build again. It also adds PR builds for the pkgdown workflow to act as a dry run for verifying the site build.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR enhances the pkgdown workflow to support dry-run testing of documentation on pull requests. The workflow now builds the documentation site for PRs without deploying, while maintaining the existing deployment behavior for pushes to main/master branches.

Changes:

  • Added pull request trigger to enable documentation builds on PRs
  • Updated action versions and dependencies to use modern consolidated actions
  • Split the build and deploy steps to conditionally execute based on event type

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

jobs:
pkgdown:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
Copy link

Copilot AI Jan 13, 2026

Choose a reason for hiding this comment

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

Using a specific Ubuntu version (ubuntu-22.04) instead of ubuntu-latest reduces automatic updates and may require manual maintenance when the version reaches end-of-life. Consider using ubuntu-latest unless there's a specific compatibility requirement.

Suggested change
runs-on: ubuntu-22.04
runs-on: ubuntu-latest

Copilot uses AI. Check for mistakes.
Copy link
Contributor

@kevinushey kevinushey left a comment

Choose a reason for hiding this comment

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

LGTM!

@kevinushey kevinushey merged commit 788cf65 into main Jan 13, 2026
7 checks passed
@kevinushey kevinushey deleted the docs/pkgdown-pr branch January 13, 2026 17:23
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