Commit Graph

14 Commits

Author SHA1 Message Date
smallfawn
2afb6a7666 fix some code 2026-04-12 16:09:01 +08:00
smallfawn
4a220d37b6 fix bug 2026-04-07 20:24:44 +08:00
smallfawn
295b81a176 fix(fix bug): fix bug notice 2026-04-07 20:21:56 +08:00
smallfawn
6594ac63c1 Update checkScriptStatus.yml 2026-04-07 15:07:20 +08:00
smallfawn
4e50a97e36 add:hezj 2026-04-07 15:05:19 +08:00
smallfawn
b85c26039b Improve README updater workflow and relocate chery
Enhance .github workflow to robustly detect changed .js/.py files (uses git diff HEAD~1..HEAD with fallback), extract Env names, require anchor markers in README, and parse/update the markdown table safely; add clearer Chinese logs and adjust commit/push step messaging. Insert anchor comments into README.md to mark the table region. Remove legacy chery.js and cheryev.js files and add a new daily/chery.js implementation (refactored script using axios/CryptoJS and modular Env tool).
2026-04-02 16:07:18 +08:00
smallfawn
e599f538e3 Refactor README updater workflow and rename script
Update the GitHub Actions script that updates README script status: convert Chinese log messages to English, streamline README table assembly (introduce final_table, preserve headers, append new entries), adjust anchor tag handling comments, and simplify commit message output. Also remove the top-level README title and add a trailing blank line to the table in README.md. Rename a misencoded script filename to daily/yingsheng.js.
2026-04-02 11:53:49 +08:00
smallfawn
fb470e403f Refine README update step in workflow
Update .github/workflows/checkScriptStatus.yml: improve user-facing messages and comments, simplify README table assembly (use a fixed header + new rows) and tighten anchor-missing handling, and ensure update_readme.py is executed before the commit/push step. Also small formatting and flow fixes to make the workflow clearer and more robust.
2026-04-02 10:53:02 +08:00
smallfawn
3c14ce98cf Improve README update logic and error messages
Enhance the checkScriptStatus workflow to add defensive checks and clearer logs: detect when no JS/PY files changed or no Env tags found, verify README.md exists, and print explanatory messages (in Chinese). Tighten anchor validation with explicit error output to avoid corrupting README. Refactor table parsing to skip headers/separators, preserve/update rows, and reassemble the table with a fixed header. Overall prevents silent failures and makes failures easier to diagnose.
2026-04-02 10:50:30 +08:00
smallfawn
acc898d45a Refine README updater and relocate script
Workflow: tighten .github/workflows/checkScriptStatus.yml to require README anchor tags (exit with error if missing) instead of blindly appending; set start/end tag placeholders, filter out old table headers, prepend a standardized table header, collect updated names and append new scripts, and reassemble the file to avoid corrupting README format.

Script: move changhongmeiling.py into daily/, update file comments and User-Agent, remove an unintended miniapp GET/request block, and apply minor formatting fixes.
2026-04-02 10:41:12 +08:00
smallfawn
c9641a7f9f Move babycare, update workflow & fix scripts
Move babycare.js into daily/ (added daily/babycare.js and removed top-level babycare.js). Improve .github workflow (checkScriptStatus.yml) to smarterly update README table using anchors, handle JS/PY file changes, and append when anchors missing. Update README.md table entries (added three scripts and cleaned duplicates). Tweak daily scripts: remove hardcoded process.env test assignments in daily/hdl.js and two other scripts, and fix string splitter usage in the non-ASCII-named script. General cleanup and formatting fixes.
2026-04-02 09:38:29 +08:00
smallfawn
fec492b2ab Improve README updater to support .py files
Enhance the GitHub Actions workflow that updates the README table: add .py to watched paths, broaden changed-file detection, and support both .js and .py targets. Make the Env name regex more flexible (matches Env(...)), add robust error handling for git diff, check README.md exists, and simplify table parsing/append logic so new scripts are added and existing rows updated correctly. Also tidy comments/spacing and adjust the automated commit message.
2026-04-02 08:22:51 +08:00
smallfawn
6965ba3226 Trigger workflow on Python file changes
Add '**/*.py' to the workflow's paths so the checkScriptStatus.yml job will run when Python files are created or modified. Previously the workflow only triggered on JavaScript file changes.
2026-04-01 21:07:08 +08:00
smallfawn
8ba25646bd Initial commit 2026-04-01 19:27:33 +08:00