Conversation
Contributor
There was a problem hiding this comment.
Pull Request Overview
Updates the issue templates and related tests to replace the heading “插件 import 包名” with “插件模块名” for clarity.
- Changed template headings in utility functions from “插件 import 包名” to “插件模块名”
- Updated all corresponding test fixtures and regex patterns to match the new heading
Reviewed Changes
Copilot reviewed 7 out of 7 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| tests/plugins/github/utils.py | Updated heading in generated issue body |
| tests/plugins/github/publish/utils/test_re.py | Updated test fixture to use 新 heading |
| tests/plugins/github/publish/utils/test_ensure_issue_plugin_test_button.py | Updated multiple test cases to use 新 heading |
| tests/plugins/github/publish/process/test_publish_check_plugin.py | Updated all occurrences in tests |
| tests/plugins/github/config/utils.py | Updated heading in config issue body generator |
| tests/plugins/github/config/process/test_config_check.py | Updated test occurrences to use 新 heading |
| src/plugins/github/plugins/publish/constants.py | Updated regex constant to match 新 heading |
Codecov ReportAll modified and coverable lines are covered by tests ✅
✅ All tests successful. No failed tests found. Additional details and impacted files@@ Coverage Diff @@
## main #400 +/- ##
==========================================
+ Coverage 94.14% 94.16% +0.01%
==========================================
Files 40 40
Lines 2376 2382 +6
==========================================
+ Hits 2237 2243 +6
Misses 139 139 ☔ View full report in Codecov by Sentry. |
dcc30f9 to
5466d46
Compare
he0119
approved these changes
Jun 16, 2025
Member
|
突然想到,要不兼容一下两种写法?不然现在还没合并的 issue 都没法匹配了。 |
c19199e to
512695a
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
nonebot/nonebot2#3520