1
0
mirror of https://github.com/pooneyy/1Panel-Appstore.git synced 2026-04-28 02:10:22 +08:00

3 Commits

Author SHA1 Message Date
pooneyy
a67be05173
♻️ refactor(renovate): simplify version extraction and add safety functions
- consolidate multiple regex patterns into single comprehensive pattern for version extraction
- add type hints for version variables to improve code clarity
- implement safe_rename_directory function with comprehensive error handling and validation
- create write_version_file function with proper directory creation and error handling
- replace direct file operations with safer function calls
- add permission and system error handling for directory operations
- implement existence checks before directory operations
- add operation success validation after renaming
- improve error messages with clear success/failure indicators
2025-10-07 15:41:29 +08:00
pooneyy
60513cb920
♻️ refactor(workflow): enhance version extraction and workflow reliability
- add type hints to functions for better code clarity
- fix version extraction logic to correctly access version from dictionary
- improve error handling in workflow with better debugging information
- update workflow to use pull request head ref for accurate file detection
- add fallback to 'latest' version when extraction fails
- enhance logging with old and new version display
- rename script reference from .sh to .py in workflow step
- modify checkout action to use head ref instead of default
2025-10-06 21:40:27 +08:00
pooneyy
deae7397a8
feat(renovate): migrate from shell script to python implementation and enhance automation
- replace bash script with python script for better version extraction and handling
- add major version label checking and auto-merge workflow
- implement pr author verification and automatic reviewer assignment
- enhance version extraction with multiple pattern support (dots, hyphens, mixed separators)
- add pr body columns configuration and update package rules

🔧 chore(workflows): restructure github actions workflow

- change trigger from push to pull_request events
- add python setup and dependency installation
- implement multi-stage workflow with label checking and auto-merge
- add commit author verification
- improve error handling and retry logic for pr merging
2025-10-06 16:48:14 +08:00