Skip to content

添加统计工作流#5162

Merged
donghaiwang merged 4 commits intoOpenHUTB:mainfrom
qq1115457645:main
Mar 9, 2026
Merged

添加统计工作流#5162
donghaiwang merged 4 commits intoOpenHUTB:mainfrom
qq1115457645:main

Conversation

@qq1115457645
Copy link
Contributor

@qq1115457645 qq1115457645 commented Mar 8, 2026

修改概述:
添加git actions 工作流,可通过指定时间来导出时间段内的用户commit

修改的详细描述

  1. workflows文件夹下yml文件的修改
  2. 根目录下添加自动化脚本“contribution_analysis.py”以及屏蔽列表json文件“ignore_users.json”(屏蔽内容有需要自行修改)

经过了什么样的测试?

  1. windows 10
  2. Python 3.7
    3.关于用户名别名暂时未发现混乱问题。
a8444d4222e79875fbcbd20167e7c405

在此前红框处用户一直是显示别名,现在与commit 中的用户名一致

运行效果

f5899a432bab247f575c0a18919b6b4d 7f50e6da17758dc455f29c2ac95fef6a 5679667130fa7eb2d3b0116d246b14a7

Copy link
Member

Choose a reason for hiding this comment

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

yml文件中运行的python脚本文件名是小写的c开头

Copy link
Contributor Author

@qq1115457645 qq1115457645 Mar 8, 2026

Choose a reason for hiding this comment

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

这个大写开头的Contribution_analysis.py 文件需要删除,是以前写的,和现在的工作流不匹配了
保留这个小写的contribution_analysis.py即可,没有注意

@donghaiwang donghaiwang merged commit 1b35dbc into OpenHUTB:main Mar 9, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants