-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feat]: 自定义更新提交撰写者 #9
Comments
DuckDuckStudio
added a commit
that referenced
this issue
Jan 27, 2025
6 tasks
DuckDuckStudio
added a commit
that referenced
this issue
Feb 7, 2025
* feat: 自定义更新提交撰写者 (#9) * refactor: 使用 JavaScript 重写提交和推送部分 更多信息: fix: 修复了当出现“未知更新方式”错误时显示的当前设置错误的问题 (其实就是用错环境变量了,用到自动更新那个去了) fix: 修复基础分支定义但未使用的问题 * refactor: 将 JavaScript 脚本整合为 index.mjs 更多信息: fix?: 修复在Windows/Macos Runner上设置时区的问题 * fix: 修正 Windows Runner 时区设置 * fix: 修正错误的调用 * docs: 说明时区参数设置 * docs: Bump version from 1.0.3 to 1.0.4 * style: 修改 console.warn → console.log 因为它们只是 DEBUG 日志而不是警告。 为什么不使用 console.debug()。此方法仅在日志等级为 Debug 时才会输出,而我们目前的控制方式是环境变量中的 Debug 参数而不是日志等级。 * fix: 不动 git push.autoSetupRemote 的设置 * feat: 自动关闭过时的更新请求 匹配逻辑: const outdatedPRs = pulls.filter(pr => pr.title.includes('自动更新网站地图') && pr.base.ref === process.env.BASE_BRANCH && pr.head.ref.includes('Sitemap_Creator')); PR标题中带有“自动更新网站地图” PR基分支是参数中设置的基分支 PR头分支名中包含“Sitemap_Creator” * feat: 在关闭过时的拉取请求前添加评论 * feat: 在关闭过时的拉取请求时添加指向 Sitemap Creator 的链接 * fix: 修复 CodeQL 错误 * fix: 修改 execSync → execFileSync
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
选择一个类别
新功能
对新功能/建议的描述
允许通过参数自定义更新提交的撰写者,并给出默认值(GitHub Action [bot])。
为什么需要实现此功能
个性化
对于实施该功能的方法的建议
在参数中
Note
可能需要更多的安全处理。
The text was updated successfully, but these errors were encountered: