Skip to content

Simplify checkout condition in maintenance workflow#47

Merged
suzukimain merged 1 commit intomasterfrom
update-v8
Dec 16, 2025
Merged

Simplify checkout condition in maintenance workflow#47
suzukimain merged 1 commit intomasterfrom
update-v8

Conversation

@suzukimain
Copy link
Copy Markdown
Owner

Refactor the checkout step to streamline the condition for executing the checkout action during workflow dispatch events.

Copilot AI review requested due to automatic review settings December 16, 2025 07:33
@suzukimain suzukimain merged commit ff904be into master Dec 16, 2025
3 checks passed
Copy link
Copy Markdown
Contributor

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 simplifies the checkout logic in the maintenance workflow by only performing a checkout when explicitly needed for manual workflow dispatch events. The workflow operates in two modes: scheduled runs that test the PyPI package (no source needed) and manual runs that test from source (checkout required).

Key changes:

  • Replaced conditional ref parameter with conditional execution using if statement
  • Eliminates unnecessary checkout for scheduled runs that only install from PyPI

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

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