Skip to content

Sync Dev#891

Merged
PythonSmall-Q merged 237 commits into
masterfrom
dev
Feb 7, 2026
Merged

Sync Dev#891
PythonSmall-Q merged 237 commits into
masterfrom
dev

Conversation

@PythonSmall-Q

@PythonSmall-Q PythonSmall-Q commented Feb 7, 2026

Copy link
Copy Markdown
Member

Summary by cubic

Syncs dev with master, upgrades CI to actions/checkout v6, and bumps XMOJ to 2.7.2 with safer contest PID handling, robust submit-link detection, and 5‑digit AC code export.

  • Bug Fixes

    • Contest PID may be missing: fetch contest page, cache PIDs, and only append when available.
    • Submit button: find by link text “提交” instead of brittle nth-child selectors.
    • AC code export: parse header line to support 5‑digit IDs and skip malformed entries.
    • Bump script and package versions to 2.7.2; add 2.5.1–2.7.2 (incl. 2.6.0, 2.7.0–2.7.2) entries to Update.json.
  • CI/CD

    • Upgrade actions/checkout to v6 across workflows.
    • Add guards: UpdateVersion runs only for local PRs and skips github-actions bot; UpdateToRelease skips bot PRs and passes the correct PR number.
    • Prerelease npm publish step is commented out.

Written for commit 8e01ee2. Summary will update on new commits.

boomzero and others added 30 commits October 7, 2025 17:51
* fix: problem PID 可能为 null

* 2.5.2

* Update version info to 2.5.2

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: PythonSmall-Q <106425289+PythonSmall-Q@users.noreply.github.com>
Co-authored-by: PythonSmall-Q <106425289+PythonSmall-Q@users.noreply.github.com>

@boomzero boomzero left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Wrong version

@boomzero

boomzero commented Feb 7, 2026

Copy link
Copy Markdown
Member

Also endless recursion in CI again

@boomzero

boomzero commented Feb 7, 2026

Copy link
Copy Markdown
Member

@PythonSmall-Q

@PythonSmall-Q

PythonSmall-Q commented Feb 7, 2026

Copy link
Copy Markdown
Member Author

真不知道为什么啊我明明控了但是为什么就不行 @boomzero

@PythonSmall-Q PythonSmall-Q merged commit 462621a into master Feb 7, 2026
12 of 13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

GitHub-related size/L user-script This issue or pull request is related to the main user script

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants