+
Skip to content

Conversation

akx
Copy link
Owner

@akx akx commented Oct 14, 2025

No description provided.

@akx akx requested a review from Copilot October 14, 2025 14:13
Copy link

@Copilot 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 autoupdate functionality by allowing separate version strategies for first-party and third-party actions, and introduces customizable first-party pattern matching. The changes enable users to apply different versioning approaches (major vs specific) to different types of actions based on configurable patterns.

Key changes:

  • Added separate CLI options for first-party and third-party version strategies
  • Introduced customizable first-party pattern matching via regex
  • Refactored action updating logic to use a unified configuration object

Reviewed Changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
gha_tools/cli.py Added new CLI options for separate version strategies and first-party pattern configuration
gha_tools/action_updater.py Introduced ActionUpdateConfig dataclass and refactored logic to support separate strategies
gha_tools/github_api.py Added optional caching mechanism for GitHub API responses
tests/test_autoupdate.py Added comprehensive test coverage for new functionality with helper functions
pyproject.toml Updated line length configuration for code formatting
README.md Added documentation for the new separate version strategies feature

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@akx akx merged commit 2861f5c into master Oct 14, 2025
2 checks passed
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.

1 participant

点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载