From e8aaebec78479a7321c0933bdd183d388e59ba17 Mon Sep 17 00:00:00 2001 From: Derick Date: Sat, 29 Jun 2024 00:27:35 +0800 Subject: [PATCH 01/11] =?UTF-8?q?update=20=E6=9B=B4=E6=96=B0=E6=B5=8B?= =?UTF-8?q?=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/sync_status.yml | 32 +++++++++++++ README.md | 3 +- sync_status_readme.py | 78 +++++++++++++++++++++++++++++++ 3 files changed, 112 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/sync_status.yml create mode 100644 sync_status_readme.py diff --git a/.github/workflows/sync_status.yml b/.github/workflows/sync_status.yml new file mode 100644 index 0000000..4c9fd93 --- /dev/null +++ b/.github/workflows/sync_status.yml @@ -0,0 +1,32 @@ +name: Update Commit Status Table + +on: + schedule: + - cron: '0 0 * * *' # 每天午夜运行 + push: + branches: [ main ] # 每次推送到main分支时也运行 + +jobs: + update-table: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + with: + fetch-depth: 0 # 获取所有历史提交 + - name: Set up Python + uses: actions/setup-python@v2 + with: + python-version: '3.x' + - name: Install dependencies + run: pip install PyGithub + - name: Update README + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + run: python sync_status_readme.py + - name: Commit changes + run: | + git config --local user.email "action@github.com" + git config --local user.name "GitHub Action" + git add README.md + git commit -m "Update commit status table" || exit 0 + git push \ No newline at end of file diff --git a/README.md b/README.md index bf72f1f..da7ff76 100644 --- a/README.md +++ b/README.md @@ -54,7 +54,7 @@ LXDAO Host 的英语残酷共学第 1 期将着重加强**听和说**的训练 ## 3 英语残酷共学记录表 ✅ = Done ⭕️ = Missed ❌ = Failed - + | EICL1st· Name | 6.24 | 6.25 | 6.26 | 6.27 | 6.28 | 6.29 | 6.30 | 7.01 | 7.02 | 7.03 | 7.04 | 7.05 | 7.06 | 7.07 | 7.08 | 7.09 | 7.10 | 7.11 | 7.12 | 7.13 | 7.14 | | ------------- | ---- | ---- | ---- | ---- | ---- | ---- | ---- | ---- | ---- | ---- | ---- | ---- | ---- | ---- | ---- | ---- | ---- | ---- | ---- | ---- | ---- | | Bruce | ✅ | ✅ | ✅ | ✅ | ✅ | | | | | | | | | | | | | | | | | @@ -90,6 +90,7 @@ LXDAO Host 的英语残酷共学第 1 期将着重加强**听和说**的训练 | Tb | ✅ | ✅ | ✅ | ✅ | ⭕️ | | | | | | | | | | | | | | | | | | Marcus | ✅ | ✅ | ✅ | | | | | | | | | | | | | | | | | | | | Uint8 | ✅ | ✅ | ✅ | ✅ | ✅ | | | | | | | | | | | | | | | | | + 总之希望频率相同的人在 LXDAO 残酷氛围之下相互鼓励与学习交流,找到适合自己的英语精进节奏,加入进来试试吧。 diff --git a/sync_status_readme.py b/sync_status_readme.py new file mode 100644 index 0000000..a700cf2 --- /dev/null +++ b/sync_status_readme.py @@ -0,0 +1,78 @@ +import os +from github import Github +from datetime import datetime, timedelta + +# 初始化GitHub API +g = Github(os.environ['GITHUB_TOKEN']) +repo = g.get_repo(os.environ['GITHUB_REPOSITORY']) + +# 获取所有贡献者 +contributors = set(c.login for c in repo.get_contributors()) + +# 定义日期范围(从6月24日到7月14日) +start_date = datetime(2024, 6, 24).date() +end_date = datetime(2024, 7, 14).date() +date_range = [(start_date + timedelta(days=x)).strftime("%m.%d") for x in range((end_date - start_date).days + 1)] + +# 获取每个用户在每一天的提交状态 +user_commits = {user: {} for user in contributors} +for date in date_range: + day = datetime.strptime(date, "%m.%d").replace(year=2024).date() + next_day = day + timedelta(days=1) + commits = repo.get_commits(since=day, until=next_day) + for commit in commits: + if commit.author: + user_commits[commit.author.login][date] = "✅" + +# 检查是否有人在一周内超过两天没有提交 +def check_elimination(user_commits, user, date): + week_dates = [date] + current_date = datetime.strptime(date, "%m.%d").replace(year=2024).date() + for i in range(1, 7): + prev_date = (current_date - timedelta(days=i)).strftime("%m.%d") + if prev_date in date_range: + week_dates.append(prev_date) + + missing_days = sum(1 for d in week_dates if user_commits[user].get(d, "⭕️") == "⭕️") + return missing_days > 2 + +# 生成新的表格内容 +new_table = ['| EICL1st· Name | ' + ' | '.join(date_range) + ' |\n', + '| ------------- | ' + ' | '.join(['----' for _ in date_range]) + ' |\n'] + +for user in contributors: + row = f"| {user} |" + eliminated = False + for date in date_range: + if eliminated: + status = "❌" + else: + status = user_commits[user].get(date, "⭕️") + if status == "⭕️" and check_elimination(user_commits, user, date): + eliminated = True + status = "❌" + row += f" {status} |" + new_table.append(row + '\n') + +# 读取README.md文件 +with open('README.md', 'r') as file: + content = file.read() + +# 查找标记并替换内容 +start_marker = "" +end_marker = "" +start_index = content.find(start_marker) +end_index = content.find(end_marker) + +if start_index != -1 and end_index != -1: + new_content = ( + content[:start_index + len(start_marker)] + + '\n' + ''.join(new_table) + '\n' + + content[end_index:] + ) + + # 写入更新后的内容 + with open('README.md', 'w') as file: + file.write(new_content) +else: + print("Error: Couldn't find the table markers in README.md") \ No newline at end of file From 249647d653a3060ffc9a4c50a7d1f8aa9ff32a3c Mon Sep 17 00:00:00 2001 From: Derick Date: Sat, 29 Jun 2024 00:30:09 +0800 Subject: [PATCH 02/11] =?UTF-8?q?=E6=B5=8B=E8=AF=95=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/sync_status.yml | 10 +++++----- sync_status_readme.py | 6 +++--- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/sync_status.yml b/.github/workflows/sync_status.yml index 4c9fd93..a2a3b39 100644 --- a/.github/workflows/sync_status.yml +++ b/.github/workflows/sync_status.yml @@ -1,4 +1,4 @@ -name: Update Commit Status Table +name: Update README on: schedule: @@ -7,18 +7,18 @@ on: branches: [ main ] # 每次推送到main分支时也运行 jobs: - update-table: + update-readme: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - with: - fetch-depth: 0 # 获取所有历史提交 - name: Set up Python uses: actions/setup-python@v2 with: python-version: '3.x' - name: Install dependencies - run: pip install PyGithub + run: | + python -m pip install --upgrade pip + pip install PyGithub - name: Update README env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/sync_status_readme.py b/sync_status_readme.py index a700cf2..dcd217c 100644 --- a/sync_status_readme.py +++ b/sync_status_readme.py @@ -10,14 +10,14 @@ contributors = set(c.login for c in repo.get_contributors()) # 定义日期范围(从6月24日到7月14日) -start_date = datetime(2024, 6, 24).date() -end_date = datetime(2024, 7, 14).date() +start_date = datetime(2024, 6, 24) +end_date = datetime(2024, 7, 14) date_range = [(start_date + timedelta(days=x)).strftime("%m.%d") for x in range((end_date - start_date).days + 1)] # 获取每个用户在每一天的提交状态 user_commits = {user: {} for user in contributors} for date in date_range: - day = datetime.strptime(date, "%m.%d").replace(year=2024).date() + day = datetime.strptime(date, "%m.%d").replace(year=2024) next_day = day + timedelta(days=1) commits = repo.get_commits(since=day, until=next_day) for commit in commits: From 39c97761b75c89b41088eaa1a647ecdbc4f92a37 Mon Sep 17 00:00:00 2001 From: GitHub Action Date: Fri, 28 Jun 2024 16:30:46 +0000 Subject: [PATCH 03/11] Update commit status table --- README.md | 72 +++++++++++++++++++++++++++++-------------------------- 1 file changed, 38 insertions(+), 34 deletions(-) diff --git a/README.md b/README.md index da7ff76..8888bb4 100644 --- a/README.md +++ b/README.md @@ -55,41 +55,45 @@ LXDAO Host 的英语残酷共学第 1 期将着重加强**听和说**的训练 ✅ = Done ⭕️ = Missed ❌ = Failed -| EICL1st· Name | 6.24 | 6.25 | 6.26 | 6.27 | 6.28 | 6.29 | 6.30 | 7.01 | 7.02 | 7.03 | 7.04 | 7.05 | 7.06 | 7.07 | 7.08 | 7.09 | 7.10 | 7.11 | 7.12 | 7.13 | 7.14 | +| EICL1st· Name | 06.24 | 06.25 | 06.26 | 06.27 | 06.28 | 06.29 | 06.30 | 07.01 | 07.02 | 07.03 | 07.04 | 07.05 | 07.06 | 07.07 | 07.08 | 07.09 | 07.10 | 07.11 | 07.12 | 07.13 | 07.14 | | ------------- | ---- | ---- | ---- | ---- | ---- | ---- | ---- | ---- | ---- | ---- | ---- | ---- | ---- | ---- | ---- | ---- | ---- | ---- | ---- | ---- | ---- | -| Bruce | ✅ | ✅ | ✅ | ✅ | ✅ | | | | | | | | | | | | | | | | | -| Oscar | ✅ | ✅ | ✅ | ✅ | ✅ | | | | | | | | | | | | | | | | | -| Muxin | ✅ | ✅ | ✅ | ✅ | ✅ | | | | | | | | | | | | | | | | | -| Coooder | ✅ | ✅ | ✅ | ✅ | | | | | | | | | | | | | | | | | | -| Cooper | ✅ | ⭕️ | ✅ | ✅ | | | | | | | | | | | | | | | | | | -| Connie | ✅ | ✅ | ✅ | ✅ | | | | | | | | | | | | | | | | | | -| Louis | ✅ | ⭕️ | ✅ | ⭕️ | ✅ | | | | | | | | | | | | | | | | | -| Derick | ✅ | ✅ | ✅ | ✅ | ✅ | | | | | | | | | | | | | | | | | -| Breeze | ✅ | ✅ | ✅ | | | | | | | | | | | | | | | | | | | -| LoKi | ⭕️ | ✅ | ✅ | | | | | | | | | | | | | | | | | | | -| Wyatt | ✅ | ✅ |⭕️ |⭕️ |✅ | | | | | | | | | | | | | | | | | -| Nicole | ✅ | ✅ | ✅ | | | | | | | | | | | | | | | | | | | -| Odyssey | ✅ | ✅ | | | | | | | | | | | | | | | | | | | | -| Hansen | ✅ | ✅ | ✅ | ✅ | ✅ | | | | | | | | | | | | | | | | | -| Young | ✅ | ✅ | ⭕️ | ✅ | | | | | | | | | | | | | | | | | | -| $PENY | ✅ | ✅ | ✅ | ✅ | ✅ | | | | | | | | | | | | | | | | | -| Yiming | ✅ | ✅ | ✅ | ✅ | ✅ | | | | | | | | | | | | | | | | | -| Piper | ❌ | | | | | | | | | | | | | | | | | | | | | -| ZhaoHong | ✅ | ✅ | ✅ | ✅ | ✅ | | | | | | | | | | | | | | | | | -| Pignard | ✅ | ✅ | ✅ | ✅ | | | | | | | | | | | | | | | | | | -| leo1226 | ✅ | ✅ | ✅ | ✅ | ✅ | | | | | | | | | | | | | | | | | -| loxia | ✅ | ✅ | | | | | | | | | | | | | | | | | | | | -| WODECHE | ✅ | ✅ | ✅ | ✅ | | | | | | | | | | | | | | | | | | -| Junhua | ✅ | ⭕️ | ✅ | ✅ | | | | | | | | | | | | | | | | | | -| Ocean | ✅ | ✅ | ✅ | ✅ | ✅ | | | | | | | | | | | | | | | | | -| Ray | ✅ | ✅ | ✅ | ✅ | ✅ | | | | | | | | | | | | | | | | | -| cikey | ✅ | ✅ | ✅ | ✅ | ✅ | | | | | | | | | | | | | | | | | -| Nour | ✅ | ✅ | ✅ | | | | | | | | | | | | | | | | | | | -| Jason | ✅ | ✅ | ✅ | ✅ | ✅ | | | | | | | | | | | | | | | | | -| Aiden | ✅ | ✅ | ✅ | | | | | | | | | | | | | | | | | | | -| Tb | ✅ | ✅ | ✅ | ✅ | ⭕️ | | | | | | | | | | | | | | | | | -| Marcus | ✅ | ✅ | ✅ | | | | | | | | | | | | | | | | | | | -| Uint8 | ✅ | ✅ | ✅ | ✅ | ✅ | | | | | | | | | | | | | | | | | +| qingfengzxr | ✅ | ⭕️ | ✅ | ✅ | ⭕️ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | +| ymjrcc | ✅ | ✅ | ✅ | ✅ | ✅ | ⭕️ | ⭕️ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | +| Tboj | ✅ | ✅ | ⭕️ | ✅ | ✅ | ⭕️ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | +| OdysseyLee | ✅ | ✅ | ⭕️ | ⭕️ | ✅ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | +| DasNarrenschiff | ✅ | ✅ | ⭕️ | ⭕️ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | +| LouiseCat | ✅ | ⭕️ | ✅ | ⭕️ | ✅ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | +| Hu-Wentao | ✅ | ✅ | ⭕️ | ⭕️ | ✅ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | +| MRzzz-cyber | ✅ | ✅ | ✅ | ⭕️ | ⭕️ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | +| tttzzhh | ✅ | ✅ | ✅ | ✅ | ⭕️ | ⭕️ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | +| rayjun | ✅ | ⭕️ | ✅ | ⭕️ | ✅ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | +| XieJunhua | ✅ | ✅ | ✅ | ✅ | ⭕️ | ⭕️ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | +| youngtongyang | ✅ | ✅ | ⭕️ | ✅ | ⭕️ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | +| DerickIT | ✅ | ✅ | ✅ | ✅ | ✅ | ⭕️ | ⭕️ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | +| Web3Pignard | ✅ | ✅ | ✅ | ✅ | ⭕️ | ⭕️ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | +| luffythink | ✅ | ✅ | ✅ | ✅ | ✅ | ⭕️ | ⭕️ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | +| weifengHuang | ✅ | ⭕️ | ⭕️ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | +| minye420 | ⭕️ | ⭕️ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | +| LunaWang5209 | ⭕️ | ⭕️ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | +| UnsignedInt8 | ✅ | ✅ | ✅ | ✅ | ✅ | ⭕️ | ⭕️ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | +| penny777eth | ✅ | ✅ | ✅ | ✅ | ✅ | ⭕️ | ⭕️ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | +| GeeekerK | ⭕️ | ⭕️ | ✅ | ✅ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | +| rich-loam | ✅ | ✅ | ✅ | ✅ | ⭕️ | ⭕️ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | +| muxin-web3 | ✅ | ✅ | ✅ | ✅ | ✅ | ⭕️ | ⭕️ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | +| zhuyansen | ✅ | ✅ | ✅ | ✅ | ✅ | ⭕️ | ⭕️ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | +| brucexu-eth | ✅ | ✅ | ✅ | ✅ | ✅ | ⭕️ | ⭕️ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | +| piperTang | ⭕️ | ⭕️ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | +| Nourbit | ✅ | ✅ | ✅ | ⭕️ | ⭕️ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | +| cikey247 | ✅ | ✅ | ✅ | ✅ | ✅ | ⭕️ | ⭕️ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | +| sfgshxgg | ⭕️ | ⭕️ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | +| nocb | ✅ | ✅ | ✅ | ✅ | ✅ | ⭕️ | ⭕️ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | +| Lookofsea | ✅ | ✅ | ✅ | ✅ | ✅ | ⭕️ | ⭕️ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | +| coderprepares | ✅ | ✅ | ⭕️ | ✅ | ✅ | ⭕️ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | +| ShelynL | ⭕️ | ⭕️ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | +| CNcoooder | ✅ | ✅ | ✅ | ✅ | ⭕️ | ⭕️ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | +| wodeche | ✅ | ✅ | ✅ | ✅ | ⭕️ | ⭕️ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | +| hweu | ✅ | ✅ | ✅ | ⭕️ | ⭕️ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | + 总之希望频率相同的人在 LXDAO 残酷氛围之下相互鼓励与学习交流,找到适合自己的英语精进节奏,加入进来试试吧。 From 65ce23aaf12361496988bc005ee36094ecf7af74 Mon Sep 17 00:00:00 2001 From: Derick Date: Sat, 29 Jun 2024 00:34:35 +0800 Subject: [PATCH 04/11] update sync robot --- sync_status_readme.py | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/sync_status_readme.py b/sync_status_readme.py index dcd217c..7790650 100644 --- a/sync_status_readme.py +++ b/sync_status_readme.py @@ -14,10 +14,15 @@ end_date = datetime(2024, 7, 14) date_range = [(start_date + timedelta(days=x)).strftime("%m.%d") for x in range((end_date - start_date).days + 1)] +# 获取当前日期 +current_date = datetime.now().replace(hour=0, minute=0, second=0, microsecond=0) + # 获取每个用户在每一天的提交状态 user_commits = {user: {} for user in contributors} for date in date_range: day = datetime.strptime(date, "%m.%d").replace(year=2024) + if day >= current_date: + continue # 跳过今天及以后的日期 next_day = day + timedelta(days=1) commits = repo.get_commits(since=day, until=next_day) for commit in commits: @@ -44,7 +49,10 @@ def check_elimination(user_commits, user, date): row = f"| {user} |" eliminated = False for date in date_range: - if eliminated: + day = datetime.strptime(date, "%m.%d").replace(year=2024) + if day >= current_date: + status = " " # 今天及以后的日期显示为空白 + elif eliminated: status = "❌" else: status = user_commits[user].get(date, "⭕️") From 8890d2e4b5e17873ee33fc8bb9bb6661a909dd1d Mon Sep 17 00:00:00 2001 From: GitHub Action Date: Fri, 28 Jun 2024 16:34:59 +0000 Subject: [PATCH 05/11] Update commit status table --- README.md | 73 ++++++++++++++++++++++++++++--------------------------- 1 file changed, 37 insertions(+), 36 deletions(-) diff --git a/README.md b/README.md index 8888bb4..ca82070 100644 --- a/README.md +++ b/README.md @@ -57,42 +57,43 @@ LXDAO Host 的英语残酷共学第 1 期将着重加强**听和说**的训练 | EICL1st· Name | 06.24 | 06.25 | 06.26 | 06.27 | 06.28 | 06.29 | 06.30 | 07.01 | 07.02 | 07.03 | 07.04 | 07.05 | 07.06 | 07.07 | 07.08 | 07.09 | 07.10 | 07.11 | 07.12 | 07.13 | 07.14 | | ------------- | ---- | ---- | ---- | ---- | ---- | ---- | ---- | ---- | ---- | ---- | ---- | ---- | ---- | ---- | ---- | ---- | ---- | ---- | ---- | ---- | ---- | -| qingfengzxr | ✅ | ⭕️ | ✅ | ✅ | ⭕️ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | -| ymjrcc | ✅ | ✅ | ✅ | ✅ | ✅ | ⭕️ | ⭕️ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | -| Tboj | ✅ | ✅ | ⭕️ | ✅ | ✅ | ⭕️ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | -| OdysseyLee | ✅ | ✅ | ⭕️ | ⭕️ | ✅ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | -| DasNarrenschiff | ✅ | ✅ | ⭕️ | ⭕️ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | -| LouiseCat | ✅ | ⭕️ | ✅ | ⭕️ | ✅ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | -| Hu-Wentao | ✅ | ✅ | ⭕️ | ⭕️ | ✅ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | -| MRzzz-cyber | ✅ | ✅ | ✅ | ⭕️ | ⭕️ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | -| tttzzhh | ✅ | ✅ | ✅ | ✅ | ⭕️ | ⭕️ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | -| rayjun | ✅ | ⭕️ | ✅ | ⭕️ | ✅ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | -| XieJunhua | ✅ | ✅ | ✅ | ✅ | ⭕️ | ⭕️ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | -| youngtongyang | ✅ | ✅ | ⭕️ | ✅ | ⭕️ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | -| DerickIT | ✅ | ✅ | ✅ | ✅ | ✅ | ⭕️ | ⭕️ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | -| Web3Pignard | ✅ | ✅ | ✅ | ✅ | ⭕️ | ⭕️ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | -| luffythink | ✅ | ✅ | ✅ | ✅ | ✅ | ⭕️ | ⭕️ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | -| weifengHuang | ✅ | ⭕️ | ⭕️ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | -| minye420 | ⭕️ | ⭕️ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | -| LunaWang5209 | ⭕️ | ⭕️ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | -| UnsignedInt8 | ✅ | ✅ | ✅ | ✅ | ✅ | ⭕️ | ⭕️ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | -| penny777eth | ✅ | ✅ | ✅ | ✅ | ✅ | ⭕️ | ⭕️ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | -| GeeekerK | ⭕️ | ⭕️ | ✅ | ✅ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | -| rich-loam | ✅ | ✅ | ✅ | ✅ | ⭕️ | ⭕️ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | -| muxin-web3 | ✅ | ✅ | ✅ | ✅ | ✅ | ⭕️ | ⭕️ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | -| zhuyansen | ✅ | ✅ | ✅ | ✅ | ✅ | ⭕️ | ⭕️ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | -| brucexu-eth | ✅ | ✅ | ✅ | ✅ | ✅ | ⭕️ | ⭕️ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | -| piperTang | ⭕️ | ⭕️ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | -| Nourbit | ✅ | ✅ | ✅ | ⭕️ | ⭕️ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | -| cikey247 | ✅ | ✅ | ✅ | ✅ | ✅ | ⭕️ | ⭕️ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | -| sfgshxgg | ⭕️ | ⭕️ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | -| nocb | ✅ | ✅ | ✅ | ✅ | ✅ | ⭕️ | ⭕️ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | -| Lookofsea | ✅ | ✅ | ✅ | ✅ | ✅ | ⭕️ | ⭕️ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | -| coderprepares | ✅ | ✅ | ⭕️ | ✅ | ✅ | ⭕️ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | -| ShelynL | ⭕️ | ⭕️ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | -| CNcoooder | ✅ | ✅ | ✅ | ✅ | ⭕️ | ⭕️ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | -| wodeche | ✅ | ✅ | ✅ | ✅ | ⭕️ | ⭕️ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | -| hweu | ✅ | ✅ | ✅ | ⭕️ | ⭕️ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | +| youngtongyang | ✅ | ✅ | ⭕️ | ✅ | | | | | | | | | | | | | | | | | | +| hweu | ✅ | ✅ | ✅ | ⭕️ | | | | | | | | | | | | | | | | | | +| Lookofsea | ✅ | ✅ | ✅ | ✅ | | | | | | | | | | | | | | | | | | +| sfgshxgg | ⭕️ | ⭕️ | ❌ | ❌ | | | | | | | | | | | | | | | | | | +| ymjrcc | ✅ | ✅ | ✅ | ✅ | | | | | | | | | | | | | | | | | | +| ShelynL | ⭕️ | ⭕️ | ❌ | ❌ | | | | | | | | | | | | | | | | | | +| actions-user | ⭕️ | ⭕️ | ❌ | ❌ | | | | | | | | | | | | | | | | | | +| CNcoooder | ✅ | ✅ | ✅ | ✅ | | | | | | | | | | | | | | | | | | +| LouiseCat | ✅ | ⭕️ | ✅ | ⭕️ | | | | | | | | | | | | | | | | | | +| wodeche | ✅ | ✅ | ✅ | ✅ | | | | | | | | | | | | | | | | | | +| tttzzhh | ✅ | ✅ | ✅ | ✅ | | | | | | | | | | | | | | | | | | +| qingfengzxr | ✅ | ⭕️ | ✅ | ✅ | | | | | | | | | | | | | | | | | | +| OdysseyLee | ✅ | ✅ | ⭕️ | ⭕️ | | | | | | | | | | | | | | | | | | +| DasNarrenschiff | ✅ | ✅ | ⭕️ | ⭕️ | | | | | | | | | | | | | | | | | | +| piperTang | ⭕️ | ⭕️ | ❌ | ❌ | | | | | | | | | | | | | | | | | | +| brucexu-eth | ✅ | ✅ | ✅ | ✅ | | | | | | | | | | | | | | | | | | +| Nourbit | ✅ | ✅ | ✅ | ⭕️ | | | | | | | | | | | | | | | | | | +| LunaWang5209 | ⭕️ | ⭕️ | ❌ | ❌ | | | | | | | | | | | | | | | | | | +| Tboj | ✅ | ✅ | ⭕️ | ✅ | | | | | | | | | | | | | | | | | | +| coderprepares | ✅ | ✅ | ⭕️ | ✅ | | | | | | | | | | | | | | | | | | +| UnsignedInt8 | ✅ | ✅ | ✅ | ✅ | | | | | | | | | | | | | | | | | | +| DerickIT | ✅ | ✅ | ✅ | ✅ | | | | | | | | | | | | | | | | | | +| MRzzz-cyber | ✅ | ✅ | ✅ | ⭕️ | | | | | | | | | | | | | | | | | | +| weifengHuang | ✅ | ⭕️ | ⭕️ | ❌ | | | | | | | | | | | | | | | | | | +| XieJunhua | ✅ | ✅ | ✅ | ✅ | | | | | | | | | | | | | | | | | | +| minye420 | ⭕️ | ⭕️ | ❌ | ❌ | | | | | | | | | | | | | | | | | | +| penny777eth | ✅ | ✅ | ✅ | ✅ | | | | | | | | | | | | | | | | | | +| Web3Pignard | ✅ | ✅ | ✅ | ✅ | | | | | | | | | | | | | | | | | | +| GeeekerK | ⭕️ | ⭕️ | ✅ | ✅ | | | | | | | | | | | | | | | | | | +| Hu-Wentao | ✅ | ✅ | ⭕️ | ⭕️ | | | | | | | | | | | | | | | | | | +| cikey247 | ✅ | ✅ | ✅ | ✅ | | | | | | | | | | | | | | | | | | +| luffythink | ✅ | ✅ | ✅ | ✅ | | | | | | | | | | | | | | | | | | +| muxin-web3 | ✅ | ✅ | ✅ | ✅ | | | | | | | | | | | | | | | | | | +| nocb | ✅ | ✅ | ✅ | ✅ | | | | | | | | | | | | | | | | | | +| zhuyansen | ✅ | ✅ | ✅ | ✅ | | | | | | | | | | | | | | | | | | +| rayjun | ✅ | ⭕️ | ✅ | ⭕️ | | | | | | | | | | | | | | | | | | +| rich-loam | ✅ | ✅ | ✅ | ✅ | | | | | | | | | | | | | | | | | | From e436124fa1992c20fefd4dbaa798482b5d59dbb0 Mon Sep 17 00:00:00 2001 From: Derick Date: Sat, 29 Jun 2024 00:38:30 +0800 Subject: [PATCH 06/11] test --- .github/workflows/sync_status.yml | 2 +- sync_status_readme.py | 18 +++++++++++------- 2 files changed, 12 insertions(+), 8 deletions(-) diff --git a/.github/workflows/sync_status.yml b/.github/workflows/sync_status.yml index a2a3b39..dd3918d 100644 --- a/.github/workflows/sync_status.yml +++ b/.github/workflows/sync_status.yml @@ -18,7 +18,7 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - pip install PyGithub + pip install PyGithub pytz - name: Update README env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/sync_status_readme.py b/sync_status_readme.py index 7790650..9209392 100644 --- a/sync_status_readme.py +++ b/sync_status_readme.py @@ -1,26 +1,30 @@ import os from github import Github from datetime import datetime, timedelta +import pytz # 初始化GitHub API g = Github(os.environ['GITHUB_TOKEN']) repo = g.get_repo(os.environ['GITHUB_REPOSITORY']) +# 设置北京时区 +beijing_tz = pytz.timezone('Asia/Shanghai') + # 获取所有贡献者 contributors = set(c.login for c in repo.get_contributors()) # 定义日期范围(从6月24日到7月14日) -start_date = datetime(2024, 6, 24) -end_date = datetime(2024, 7, 14) +start_date = datetime(2024, 6, 24, tzinfo=beijing_tz) +end_date = datetime(2024, 7, 14, tzinfo=beijing_tz) date_range = [(start_date + timedelta(days=x)).strftime("%m.%d") for x in range((end_date - start_date).days + 1)] -# 获取当前日期 -current_date = datetime.now().replace(hour=0, minute=0, second=0, microsecond=0) +# 获取当前北京时间 +current_date = datetime.now(beijing_tz).replace(hour=0, minute=0, second=0, microsecond=0) # 获取每个用户在每一天的提交状态 user_commits = {user: {} for user in contributors} for date in date_range: - day = datetime.strptime(date, "%m.%d").replace(year=2024) + day = datetime.strptime(date, "%m.%d").replace(year=2024, tzinfo=beijing_tz) if day >= current_date: continue # 跳过今天及以后的日期 next_day = day + timedelta(days=1) @@ -32,7 +36,7 @@ # 检查是否有人在一周内超过两天没有提交 def check_elimination(user_commits, user, date): week_dates = [date] - current_date = datetime.strptime(date, "%m.%d").replace(year=2024).date() + current_date = datetime.strptime(date, "%m.%d").replace(year=2024, tzinfo=beijing_tz).date() for i in range(1, 7): prev_date = (current_date - timedelta(days=i)).strftime("%m.%d") if prev_date in date_range: @@ -49,7 +53,7 @@ def check_elimination(user_commits, user, date): row = f"| {user} |" eliminated = False for date in date_range: - day = datetime.strptime(date, "%m.%d").replace(year=2024) + day = datetime.strptime(date, "%m.%d").replace(year=2024, tzinfo=beijing_tz) if day >= current_date: status = " " # 今天及以后的日期显示为空白 elif eliminated: From 8f53909ba635eacc766bba24bb928bb0fc272a2b Mon Sep 17 00:00:00 2001 From: GitHub Action Date: Fri, 28 Jun 2024 16:38:56 +0000 Subject: [PATCH 07/11] Update commit status table --- README.md | 74 +++++++++++++++++++++++++++---------------------------- 1 file changed, 37 insertions(+), 37 deletions(-) diff --git a/README.md b/README.md index ca82070..6710da4 100644 --- a/README.md +++ b/README.md @@ -57,43 +57,43 @@ LXDAO Host 的英语残酷共学第 1 期将着重加强**听和说**的训练 | EICL1st· Name | 06.24 | 06.25 | 06.26 | 06.27 | 06.28 | 06.29 | 06.30 | 07.01 | 07.02 | 07.03 | 07.04 | 07.05 | 07.06 | 07.07 | 07.08 | 07.09 | 07.10 | 07.11 | 07.12 | 07.13 | 07.14 | | ------------- | ---- | ---- | ---- | ---- | ---- | ---- | ---- | ---- | ---- | ---- | ---- | ---- | ---- | ---- | ---- | ---- | ---- | ---- | ---- | ---- | ---- | -| youngtongyang | ✅ | ✅ | ⭕️ | ✅ | | | | | | | | | | | | | | | | | | -| hweu | ✅ | ✅ | ✅ | ⭕️ | | | | | | | | | | | | | | | | | | -| Lookofsea | ✅ | ✅ | ✅ | ✅ | | | | | | | | | | | | | | | | | | -| sfgshxgg | ⭕️ | ⭕️ | ❌ | ❌ | | | | | | | | | | | | | | | | | | -| ymjrcc | ✅ | ✅ | ✅ | ✅ | | | | | | | | | | | | | | | | | | -| ShelynL | ⭕️ | ⭕️ | ❌ | ❌ | | | | | | | | | | | | | | | | | | -| actions-user | ⭕️ | ⭕️ | ❌ | ❌ | | | | | | | | | | | | | | | | | | -| CNcoooder | ✅ | ✅ | ✅ | ✅ | | | | | | | | | | | | | | | | | | -| LouiseCat | ✅ | ⭕️ | ✅ | ⭕️ | | | | | | | | | | | | | | | | | | -| wodeche | ✅ | ✅ | ✅ | ✅ | | | | | | | | | | | | | | | | | | -| tttzzhh | ✅ | ✅ | ✅ | ✅ | | | | | | | | | | | | | | | | | | -| qingfengzxr | ✅ | ⭕️ | ✅ | ✅ | | | | | | | | | | | | | | | | | | -| OdysseyLee | ✅ | ✅ | ⭕️ | ⭕️ | | | | | | | | | | | | | | | | | | -| DasNarrenschiff | ✅ | ✅ | ⭕️ | ⭕️ | | | | | | | | | | | | | | | | | | -| piperTang | ⭕️ | ⭕️ | ❌ | ❌ | | | | | | | | | | | | | | | | | | -| brucexu-eth | ✅ | ✅ | ✅ | ✅ | | | | | | | | | | | | | | | | | | -| Nourbit | ✅ | ✅ | ✅ | ⭕️ | | | | | | | | | | | | | | | | | | -| LunaWang5209 | ⭕️ | ⭕️ | ❌ | ❌ | | | | | | | | | | | | | | | | | | -| Tboj | ✅ | ✅ | ⭕️ | ✅ | | | | | | | | | | | | | | | | | | -| coderprepares | ✅ | ✅ | ⭕️ | ✅ | | | | | | | | | | | | | | | | | | -| UnsignedInt8 | ✅ | ✅ | ✅ | ✅ | | | | | | | | | | | | | | | | | | -| DerickIT | ✅ | ✅ | ✅ | ✅ | | | | | | | | | | | | | | | | | | -| MRzzz-cyber | ✅ | ✅ | ✅ | ⭕️ | | | | | | | | | | | | | | | | | | -| weifengHuang | ✅ | ⭕️ | ⭕️ | ❌ | | | | | | | | | | | | | | | | | | -| XieJunhua | ✅ | ✅ | ✅ | ✅ | | | | | | | | | | | | | | | | | | -| minye420 | ⭕️ | ⭕️ | ❌ | ❌ | | | | | | | | | | | | | | | | | | -| penny777eth | ✅ | ✅ | ✅ | ✅ | | | | | | | | | | | | | | | | | | -| Web3Pignard | ✅ | ✅ | ✅ | ✅ | | | | | | | | | | | | | | | | | | -| GeeekerK | ⭕️ | ⭕️ | ✅ | ✅ | | | | | | | | | | | | | | | | | | -| Hu-Wentao | ✅ | ✅ | ⭕️ | ⭕️ | | | | | | | | | | | | | | | | | | -| cikey247 | ✅ | ✅ | ✅ | ✅ | | | | | | | | | | | | | | | | | | -| luffythink | ✅ | ✅ | ✅ | ✅ | | | | | | | | | | | | | | | | | | -| muxin-web3 | ✅ | ✅ | ✅ | ✅ | | | | | | | | | | | | | | | | | | -| nocb | ✅ | ✅ | ✅ | ✅ | | | | | | | | | | | | | | | | | | -| zhuyansen | ✅ | ✅ | ✅ | ✅ | | | | | | | | | | | | | | | | | | -| rayjun | ✅ | ⭕️ | ✅ | ⭕️ | | | | | | | | | | | | | | | | | | -| rich-loam | ✅ | ✅ | ✅ | ✅ | | | | | | | | | | | | | | | | | | +| qingfengzxr | ✅ | ⭕️ | ✅ | ✅ | ⭕️ | ❌ | | | | | | | | | | | | | | | | +| muxin-web3 | ✅ | ✅ | ✅ | ✅ | ✅ | ⭕️ | | | | | | | | | | | | | | | | +| Tboj | ✅ | ✅ | ⭕️ | ✅ | ✅ | ⭕️ | | | | | | | | | | | | | | | | +| brucexu-eth | ✅ | ✅ | ✅ | ✅ | ✅ | ⭕️ | | | | | | | | | | | | | | | | +| wodeche | ✅ | ✅ | ✅ | ✅ | ⭕️ | ⭕️ | | | | | | | | | | | | | | | | +| Lookofsea | ✅ | ✅ | ✅ | ✅ | ✅ | ⭕️ | | | | | | | | | | | | | | | | +| youngtongyang | ✅ | ✅ | ⭕️ | ✅ | ⭕️ | ❌ | | | | | | | | | | | | | | | | +| rayjun | ✅ | ⭕️ | ✅ | ⭕️ | ✅ | ❌ | | | | | | | | | | | | | | | | +| ymjrcc | ✅ | ✅ | ✅ | ✅ | ✅ | ⭕️ | | | | | | | | | | | | | | | | +| weifengHuang | ✅ | ⭕️ | ⭕️ | ❌ | ❌ | ❌ | | | | | | | | | | | | | | | | +| LunaWang5209 | ⭕️ | ⭕️ | ❌ | ❌ | ❌ | ❌ | | | | | | | | | | | | | | | | +| ShelynL | ⭕️ | ⭕️ | ❌ | ❌ | ❌ | ❌ | | | | | | | | | | | | | | | | +| minye420 | ⭕️ | ⭕️ | ❌ | ❌ | ❌ | ❌ | | | | | | | | | | | | | | | | +| Hu-Wentao | ✅ | ✅ | ⭕️ | ⭕️ | ✅ | ❌ | | | | | | | | | | | | | | | | +| GeeekerK | ⭕️ | ⭕️ | ✅ | ✅ | ❌ | ❌ | | | | | | | | | | | | | | | | +| CNcoooder | ✅ | ✅ | ✅ | ✅ | ⭕️ | ⭕️ | | | | | | | | | | | | | | | | +| sfgshxgg | ⭕️ | ⭕️ | ❌ | ❌ | ❌ | ❌ | | | | | | | | | | | | | | | | +| DasNarrenschiff | ✅ | ✅ | ⭕️ | ⭕️ | ❌ | ❌ | | | | | | | | | | | | | | | | +| rich-loam | ✅ | ✅ | ✅ | ✅ | ⭕️ | ⭕️ | | | | | | | | | | | | | | | | +| actions-user | ⭕️ | ⭕️ | ❌ | ❌ | ❌ | ❌ | | | | | | | | | | | | | | | | +| MRzzz-cyber | ✅ | ✅ | ✅ | ⭕️ | ⭕️ | ❌ | | | | | | | | | | | | | | | | +| piperTang | ⭕️ | ⭕️ | ❌ | ❌ | ❌ | ❌ | | | | | | | | | | | | | | | | +| luffythink | ✅ | ✅ | ✅ | ✅ | ✅ | ⭕️ | | | | | | | | | | | | | | | | +| LouiseCat | ✅ | ⭕️ | ✅ | ⭕️ | ✅ | ❌ | | | | | | | | | | | | | | | | +| tttzzhh | ✅ | ✅ | ✅ | ✅ | ⭕️ | ⭕️ | | | | | | | | | | | | | | | | +| zhuyansen | ✅ | ✅ | ✅ | ✅ | ✅ | ⭕️ | | | | | | | | | | | | | | | | +| OdysseyLee | ✅ | ✅ | ⭕️ | ⭕️ | ✅ | ❌ | | | | | | | | | | | | | | | | +| coderprepares | ✅ | ✅ | ⭕️ | ✅ | ✅ | ⭕️ | | | | | | | | | | | | | | | | +| cikey247 | ✅ | ✅ | ✅ | ✅ | ✅ | ⭕️ | | | | | | | | | | | | | | | | +| DerickIT | ✅ | ✅ | ✅ | ✅ | ✅ | ⭕️ | | | | | | | | | | | | | | | | +| Web3Pignard | ✅ | ✅ | ✅ | ✅ | ⭕️ | ⭕️ | | | | | | | | | | | | | | | | +| UnsignedInt8 | ✅ | ✅ | ✅ | ✅ | ✅ | ⭕️ | | | | | | | | | | | | | | | | +| hweu | ✅ | ✅ | ✅ | ⭕️ | ⭕️ | ❌ | | | | | | | | | | | | | | | | +| nocb | ✅ | ✅ | ✅ | ✅ | ✅ | ⭕️ | | | | | | | | | | | | | | | | +| penny777eth | ✅ | ✅ | ✅ | ✅ | ✅ | ⭕️ | | | | | | | | | | | | | | | | +| Nourbit | ✅ | ✅ | ✅ | ⭕️ | ⭕️ | ❌ | | | | | | | | | | | | | | | | +| XieJunhua | ✅ | ✅ | ✅ | ✅ | ⭕️ | ⭕️ | | | | | | | | | | | | | | | | From a69b81ecd37ff2e6fd6e6869f78f05727e310f11 Mon Sep 17 00:00:00 2001 From: Derick Date: Sat, 29 Jun 2024 00:45:42 +0800 Subject: [PATCH 08/11] =?UTF-8?q?=E6=AF=8F=E5=91=A8=E8=B6=85=E8=BF=87?= =?UTF-8?q?=E4=B8=A4=E6=AC=A1=E4=BC=9A=E6=A0=87=E8=AE=B0x=E5=8F=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sync_status_readme.py | 22 +++++++--------------- 1 file changed, 7 insertions(+), 15 deletions(-) diff --git a/sync_status_readme.py b/sync_status_readme.py index 9209392..c615cf3 100644 --- a/sync_status_readme.py +++ b/sync_status_readme.py @@ -34,16 +34,14 @@ user_commits[commit.author.login][date] = "✅" # 检查是否有人在一周内超过两天没有提交 -def check_elimination(user_commits, user, date): - week_dates = [date] - current_date = datetime.strptime(date, "%m.%d").replace(year=2024, tzinfo=beijing_tz).date() - for i in range(1, 7): - prev_date = (current_date - timedelta(days=i)).strftime("%m.%d") - if prev_date in date_range: - week_dates.append(prev_date) +def check_weekly_status(user_commits, user, date): + week_start = datetime.strptime(date, "%m.%d").replace(year=2024, tzinfo=beijing_tz) + week_start -= timedelta(days=week_start.weekday()) # 调整到本周一 + week_dates = [(week_start + timedelta(days=x)).strftime("%m.%d") for x in range(7)] + week_dates = [d for d in week_dates if d in date_range and d <= date] missing_days = sum(1 for d in week_dates if user_commits[user].get(d, "⭕️") == "⭕️") - return missing_days > 2 + return "❌" if missing_days > 2 else user_commits[user].get(date, "⭕️") # 生成新的表格内容 new_table = ['| EICL1st· Name | ' + ' | '.join(date_range) + ' |\n', @@ -51,18 +49,12 @@ def check_elimination(user_commits, user, date): for user in contributors: row = f"| {user} |" - eliminated = False for date in date_range: day = datetime.strptime(date, "%m.%d").replace(year=2024, tzinfo=beijing_tz) if day >= current_date: status = " " # 今天及以后的日期显示为空白 - elif eliminated: - status = "❌" else: - status = user_commits[user].get(date, "⭕️") - if status == "⭕️" and check_elimination(user_commits, user, date): - eliminated = True - status = "❌" + status = check_weekly_status(user_commits, user, date) row += f" {status} |" new_table.append(row + '\n') From 052be4779c1a67e8d6412da01112247411bf1adb Mon Sep 17 00:00:00 2001 From: GitHub Action Date: Fri, 28 Jun 2024 16:46:07 +0000 Subject: [PATCH 09/11] Update commit status table --- README.md | 54 +++++++++++++++++++++++++++--------------------------- 1 file changed, 27 insertions(+), 27 deletions(-) diff --git a/README.md b/README.md index 6710da4..5d0fc49 100644 --- a/README.md +++ b/README.md @@ -57,43 +57,43 @@ LXDAO Host 的英语残酷共学第 1 期将着重加强**听和说**的训练 | EICL1st· Name | 06.24 | 06.25 | 06.26 | 06.27 | 06.28 | 06.29 | 06.30 | 07.01 | 07.02 | 07.03 | 07.04 | 07.05 | 07.06 | 07.07 | 07.08 | 07.09 | 07.10 | 07.11 | 07.12 | 07.13 | 07.14 | | ------------- | ---- | ---- | ---- | ---- | ---- | ---- | ---- | ---- | ---- | ---- | ---- | ---- | ---- | ---- | ---- | ---- | ---- | ---- | ---- | ---- | ---- | -| qingfengzxr | ✅ | ⭕️ | ✅ | ✅ | ⭕️ | ❌ | | | | | | | | | | | | | | | | -| muxin-web3 | ✅ | ✅ | ✅ | ✅ | ✅ | ⭕️ | | | | | | | | | | | | | | | | -| Tboj | ✅ | ✅ | ⭕️ | ✅ | ✅ | ⭕️ | | | | | | | | | | | | | | | | +| weifengHuang | ✅ | ⭕️ | ⭕️ | ❌ | ❌ | ❌ | | | | | | | | | | | | | | | | | brucexu-eth | ✅ | ✅ | ✅ | ✅ | ✅ | ⭕️ | | | | | | | | | | | | | | | | -| wodeche | ✅ | ✅ | ✅ | ✅ | ⭕️ | ⭕️ | | | | | | | | | | | | | | | | -| Lookofsea | ✅ | ✅ | ✅ | ✅ | ✅ | ⭕️ | | | | | | | | | | | | | | | | -| youngtongyang | ✅ | ✅ | ⭕️ | ✅ | ⭕️ | ❌ | | | | | | | | | | | | | | | | +| sfgshxgg | ⭕️ | ⭕️ | ❌ | ❌ | ❌ | ❌ | | | | | | | | | | | | | | | | +| UnsignedInt8 | ✅ | ✅ | ✅ | ✅ | ✅ | ⭕️ | | | | | | | | | | | | | | | | | rayjun | ✅ | ⭕️ | ✅ | ⭕️ | ✅ | ❌ | | | | | | | | | | | | | | | | -| ymjrcc | ✅ | ✅ | ✅ | ✅ | ✅ | ⭕️ | | | | | | | | | | | | | | | | -| weifengHuang | ✅ | ⭕️ | ⭕️ | ❌ | ❌ | ❌ | | | | | | | | | | | | | | | | -| LunaWang5209 | ⭕️ | ⭕️ | ❌ | ❌ | ❌ | ❌ | | | | | | | | | | | | | | | | -| ShelynL | ⭕️ | ⭕️ | ❌ | ❌ | ❌ | ❌ | | | | | | | | | | | | | | | | -| minye420 | ⭕️ | ⭕️ | ❌ | ❌ | ❌ | ❌ | | | | | | | | | | | | | | | | +| coderprepares | ✅ | ✅ | ⭕️ | ✅ | ✅ | ⭕️ | | | | | | | | | | | | | | | | +| LouiseCat | ✅ | ⭕️ | ✅ | ⭕️ | ✅ | ❌ | | | | | | | | | | | | | | | | +| youngtongyang | ✅ | ✅ | ⭕️ | ✅ | ⭕️ | ❌ | | | | | | | | | | | | | | | | +| zhuyansen | ✅ | ✅ | ✅ | ✅ | ✅ | ⭕️ | | | | | | | | | | | | | | | | +| XieJunhua | ✅ | ✅ | ✅ | ✅ | ⭕️ | ⭕️ | | | | | | | | | | | | | | | | | Hu-Wentao | ✅ | ✅ | ⭕️ | ⭕️ | ✅ | ❌ | | | | | | | | | | | | | | | | +| ymjrcc | ✅ | ✅ | ✅ | ✅ | ✅ | ⭕️ | | | | | | | | | | | | | | | | +| wodeche | ✅ | ✅ | ✅ | ✅ | ⭕️ | ⭕️ | | | | | | | | | | | | | | | | +| nocb | ✅ | ✅ | ✅ | ✅ | ✅ | ⭕️ | | | | | | | | | | | | | | | | | GeeekerK | ⭕️ | ⭕️ | ✅ | ✅ | ❌ | ❌ | | | | | | | | | | | | | | | | -| CNcoooder | ✅ | ✅ | ✅ | ✅ | ⭕️ | ⭕️ | | | | | | | | | | | | | | | | -| sfgshxgg | ⭕️ | ⭕️ | ❌ | ❌ | ❌ | ❌ | | | | | | | | | | | | | | | | -| DasNarrenschiff | ✅ | ✅ | ⭕️ | ⭕️ | ❌ | ❌ | | | | | | | | | | | | | | | | -| rich-loam | ✅ | ✅ | ✅ | ✅ | ⭕️ | ⭕️ | | | | | | | | | | | | | | | | -| actions-user | ⭕️ | ⭕️ | ❌ | ❌ | ❌ | ❌ | | | | | | | | | | | | | | | | -| MRzzz-cyber | ✅ | ✅ | ✅ | ⭕️ | ⭕️ | ❌ | | | | | | | | | | | | | | | | +| Lookofsea | ✅ | ✅ | ✅ | ✅ | ✅ | ⭕️ | | | | | | | | | | | | | | | | +| Nourbit | ✅ | ✅ | ✅ | ⭕️ | ⭕️ | ❌ | | | | | | | | | | | | | | | | +| muxin-web3 | ✅ | ✅ | ✅ | ✅ | ✅ | ⭕️ | | | | | | | | | | | | | | | | +| cikey247 | ✅ | ✅ | ✅ | ✅ | ✅ | ⭕️ | | | | | | | | | | | | | | | | | piperTang | ⭕️ | ⭕️ | ❌ | ❌ | ❌ | ❌ | | | | | | | | | | | | | | | | -| luffythink | ✅ | ✅ | ✅ | ✅ | ✅ | ⭕️ | | | | | | | | | | | | | | | | -| LouiseCat | ✅ | ⭕️ | ✅ | ⭕️ | ✅ | ❌ | | | | | | | | | | | | | | | | | tttzzhh | ✅ | ✅ | ✅ | ✅ | ⭕️ | ⭕️ | | | | | | | | | | | | | | | | -| zhuyansen | ✅ | ✅ | ✅ | ✅ | ✅ | ⭕️ | | | | | | | | | | | | | | | | -| OdysseyLee | ✅ | ✅ | ⭕️ | ⭕️ | ✅ | ❌ | | | | | | | | | | | | | | | | -| coderprepares | ✅ | ✅ | ⭕️ | ✅ | ✅ | ⭕️ | | | | | | | | | | | | | | | | -| cikey247 | ✅ | ✅ | ✅ | ✅ | ✅ | ⭕️ | | | | | | | | | | | | | | | | | DerickIT | ✅ | ✅ | ✅ | ✅ | ✅ | ⭕️ | | | | | | | | | | | | | | | | +| luffythink | ✅ | ✅ | ✅ | ✅ | ✅ | ⭕️ | | | | | | | | | | | | | | | | +| actions-user | ⭕️ | ⭕️ | ❌ | ❌ | ❌ | ❌ | | | | | | | | | | | | | | | | | Web3Pignard | ✅ | ✅ | ✅ | ✅ | ⭕️ | ⭕️ | | | | | | | | | | | | | | | | -| UnsignedInt8 | ✅ | ✅ | ✅ | ✅ | ✅ | ⭕️ | | | | | | | | | | | | | | | | +| CNcoooder | ✅ | ✅ | ✅ | ✅ | ⭕️ | ⭕️ | | | | | | | | | | | | | | | | | hweu | ✅ | ✅ | ✅ | ⭕️ | ⭕️ | ❌ | | | | | | | | | | | | | | | | -| nocb | ✅ | ✅ | ✅ | ✅ | ✅ | ⭕️ | | | | | | | | | | | | | | | | +| rich-loam | ✅ | ✅ | ✅ | ✅ | ⭕️ | ⭕️ | | | | | | | | | | | | | | | | +| ShelynL | ⭕️ | ⭕️ | ❌ | ❌ | ❌ | ❌ | | | | | | | | | | | | | | | | +| qingfengzxr | ✅ | ⭕️ | ✅ | ✅ | ⭕️ | ❌ | | | | | | | | | | | | | | | | +| minye420 | ⭕️ | ⭕️ | ❌ | ❌ | ❌ | ❌ | | | | | | | | | | | | | | | | +| OdysseyLee | ✅ | ✅ | ⭕️ | ⭕️ | ✅ | ❌ | | | | | | | | | | | | | | | | | penny777eth | ✅ | ✅ | ✅ | ✅ | ✅ | ⭕️ | | | | | | | | | | | | | | | | -| Nourbit | ✅ | ✅ | ✅ | ⭕️ | ⭕️ | ❌ | | | | | | | | | | | | | | | | -| XieJunhua | ✅ | ✅ | ✅ | ✅ | ⭕️ | ⭕️ | | | | | | | | | | | | | | | | +| LunaWang5209 | ⭕️ | ⭕️ | ❌ | ❌ | ❌ | ❌ | | | | | | | | | | | | | | | | +| MRzzz-cyber | ✅ | ✅ | ✅ | ⭕️ | ⭕️ | ❌ | | | | | | | | | | | | | | | | +| DasNarrenschiff | ✅ | ✅ | ⭕️ | ⭕️ | ❌ | ❌ | | | | | | | | | | | | | | | | +| Tboj | ✅ | ✅ | ⭕️ | ✅ | ✅ | ⭕️ | | | | | | | | | | | | | | | | From 7f77785f1b9f18be2504a9f99d4aa69790907b16 Mon Sep 17 00:00:00 2001 From: GitHub Action Date: Fri, 28 Jun 2024 16:55:48 +0000 Subject: [PATCH 10/11] Update commit status table --- README.md | 59 ++++++++++++++++++++++++++++--------------------------- 1 file changed, 30 insertions(+), 29 deletions(-) diff --git a/README.md b/README.md index d1c5434..000f2a3 100644 --- a/README.md +++ b/README.md @@ -57,43 +57,44 @@ LXDAO Host 的英语残酷共学第 1 期将着重加强**听和说**的训练 | EICL1st· Name | 06.24 | 06.25 | 06.26 | 06.27 | 06.28 | 06.29 | 06.30 | 07.01 | 07.02 | 07.03 | 07.04 | 07.05 | 07.06 | 07.07 | 07.08 | 07.09 | 07.10 | 07.11 | 07.12 | 07.13 | 07.14 | | ------------- | ---- | ---- | ---- | ---- | ---- | ---- | ---- | ---- | ---- | ---- | ---- | ---- | ---- | ---- | ---- | ---- | ---- | ---- | ---- | ---- | ---- | +| youngtongyang | ✅ | ✅ | ⭕️ | ✅ | ⭕️ | ❌ | | | | | | | | | | | | | | | | +| CNcoooder | ✅ | ✅ | ✅ | ✅ | ✅ | ⭕️ | | | | | | | | | | | | | | | | +| hweu | ✅ | ✅ | ✅ | ⭕️ | ⭕️ | ❌ | | | | | | | | | | | | | | | | +| LouiseCat | ✅ | ⭕️ | ✅ | ⭕️ | ✅ | ❌ | | | | | | | | | | | | | | | | +| ShelynL | ⭕️ | ⭕️ | ❌ | ❌ | ❌ | ❌ | | | | | | | | | | | | | | | | +| qingfengzxr | ✅ | ⭕️ | ✅ | ✅ | ⭕️ | ❌ | | | | | | | | | | | | | | | | +| luffythink | ✅ | ✅ | ✅ | ✅ | ✅ | ⭕️ | | | | | | | | | | | | | | | | +| wodeche | ✅ | ✅ | ✅ | ✅ | ✅ | ⭕️ | | | | | | | | | | | | | | | | +| penny777eth | ✅ | ✅ | ✅ | ✅ | ✅ | ⭕️ | | | | | | | | | | | | | | | | +| actions-user | ⭕️ | ⭕️ | ❌ | ❌ | ❌ | ❌ | | | | | | | | | | | | | | | | +| muxin-web3 | ✅ | ✅ | ✅ | ✅ | ✅ | ⭕️ | | | | | | | | | | | | | | | | +| piperTang | ⭕️ | ⭕️ | ❌ | ❌ | ❌ | ❌ | | | | | | | | | | | | | | | | +| Nourbit | ✅ | ✅ | ✅ | ⭕️ | ⭕️ | ❌ | | | | | | | | | | | | | | | | +| Tboj | ✅ | ✅ | ⭕️ | ✅ | ✅ | ⭕️ | | | | | | | | | | | | | | | | +| DasNarrenschiff | ✅ | ✅ | ⭕️ | ⭕️ | ❌ | ❌ | | | | | | | | | | | | | | | | +| rayjun | ✅ | ⭕️ | ✅ | ⭕️ | ✅ | ❌ | | | | | | | | | | | | | | | | | weifengHuang | ✅ | ⭕️ | ⭕️ | ❌ | ❌ | ❌ | | | | | | | | | | | | | | | | | brucexu-eth | ✅ | ✅ | ✅ | ✅ | ✅ | ⭕️ | | | | | | | | | | | | | | | | -| sfgshxgg | ⭕️ | ⭕️ | ❌ | ❌ | ❌ | ❌ | | | | | | | | | | | | | | | | -| UnsignedInt8 | ✅ | ✅ | ✅ | ✅ | ✅ | ⭕️ | | | | | | | | | | | | | | | | -| rayjun | ✅ | ⭕️ | ✅ | ⭕️ | ✅ | ❌ | | | | | | | | | | | | | | | | -| coderprepares | ✅ | ✅ | ⭕️ | ✅ | ✅ | ⭕️ | | | | | | | | | | | | | | | | -| LouiseCat | ✅ | ⭕️ | ✅ | ⭕️ | ✅ | ❌ | | | | | | | | | | | | | | | | -| youngtongyang | ✅ | ✅ | ⭕️ | ✅ | ⭕️ | ❌ | | | | | | | | | | | | | | | | -| zhuyansen | ✅ | ✅ | ✅ | ✅ | ✅ | ⭕️ | | | | | | | | | | | | | | | | -| XieJunhua | ✅ | ✅ | ✅ | ✅ | ⭕️ | ⭕️ | | | | | | | | | | | | | | | | -| Hu-Wentao | ✅ | ✅ | ⭕️ | ⭕️ | ✅ | ❌ | | | | | | | | | | | | | | | | -| ymjrcc | ✅ | ✅ | ✅ | ✅ | ✅ | ⭕️ | | | | | | | | | | | | | | | | -| wodeche | ✅ | ✅ | ✅ | ✅ | ⭕️ | ⭕️ | | | | | | | | | | | | | | | | | nocb | ✅ | ✅ | ✅ | ✅ | ✅ | ⭕️ | | | | | | | | | | | | | | | | | GeeekerK | ⭕️ | ⭕️ | ✅ | ✅ | ❌ | ❌ | | | | | | | | | | | | | | | | -| Lookofsea | ✅ | ✅ | ✅ | ✅ | ✅ | ⭕️ | | | | | | | | | | | | | | | | -| Nourbit | ✅ | ✅ | ✅ | ⭕️ | ⭕️ | ❌ | | | | | | | | | | | | | | | | -| muxin-web3 | ✅ | ✅ | ✅ | ✅ | ✅ | ⭕️ | | | | | | | | | | | | | | | | -| cikey247 | ✅ | ✅ | ✅ | ✅ | ✅ | ⭕️ | | | | | | | | | | | | | | | | -| piperTang | ⭕️ | ⭕️ | ❌ | ❌ | ❌ | ❌ | | | | | | | | | | | | | | | | -| tttzzhh | ✅ | ✅ | ✅ | ✅ | ⭕️ | ⭕️ | | | | | | | | | | | | | | | | +| ymjrcc | ✅ | ✅ | ✅ | ✅ | ✅ | ⭕️ | | | | | | | | | | | | | | | | +| UnsignedInt8 | ✅ | ✅ | ✅ | ✅ | ✅ | ⭕️ | | | | | | | | | | | | | | | | +| sfgshxgg | ⭕️ | ⭕️ | ❌ | ❌ | ❌ | ❌ | | | | | | | | | | | | | | | | | DerickIT | ✅ | ✅ | ✅ | ✅ | ✅ | ⭕️ | | | | | | | | | | | | | | | | -| luffythink | ✅ | ✅ | ✅ | ✅ | ✅ | ⭕️ | | | | | | | | | | | | | | | | -| actions-user | ⭕️ | ⭕️ | ❌ | ❌ | ❌ | ❌ | | | | | | | | | | | | | | | | +| cikey247 | ✅ | ✅ | ✅ | ✅ | ✅ | ⭕️ | | | | | | | | | | | | | | | | +| zhuyansen | ✅ | ✅ | ✅ | ✅ | ✅ | ⭕️ | | | | | | | | | | | | | | | | +| Hu-Wentao | ✅ | ✅ | ⭕️ | ⭕️ | ✅ | ❌ | | | | | | | | | | | | | | | | | Web3Pignard | ✅ | ✅ | ✅ | ✅ | ⭕️ | ⭕️ | | | | | | | | | | | | | | | | -| CNcoooder | ✅ | ✅ | ✅ | ✅ | ⭕️ | ⭕️ | | | | | | | | | | | | | | | | -| hweu | ✅ | ✅ | ✅ | ⭕️ | ⭕️ | ❌ | | | | | | | | | | | | | | | | -| rich-loam | ✅ | ✅ | ✅ | ✅ | ⭕️ | ⭕️ | | | | | | | | | | | | | | | | -| ShelynL | ⭕️ | ⭕️ | ❌ | ❌ | ❌ | ❌ | | | | | | | | | | | | | | | | -| qingfengzxr | ✅ | ⭕️ | ✅ | ✅ | ⭕️ | ❌ | | | | | | | | | | | | | | | | +| coderprepares | ✅ | ✅ | ⭕️ | ✅ | ✅ | ⭕️ | | | | | | | | | | | | | | | | +| tttzzhh | ✅ | ✅ | ✅ | ✅ | ⭕️ | ⭕️ | | | | | | | | | | | | | | | | +| MRzzz-cyber | ✅ | ✅ | ✅ | ⭕️ | ⭕️ | ❌ | | | | | | | | | | | | | | | | | minye420 | ⭕️ | ⭕️ | ❌ | ❌ | ❌ | ❌ | | | | | | | | | | | | | | | | -| OdysseyLee | ✅ | ✅ | ⭕️ | ⭕️ | ✅ | ❌ | | | | | | | | | | | | | | | | -| penny777eth | ✅ | ✅ | ✅ | ✅ | ✅ | ⭕️ | | | | | | | | | | | | | | | | | LunaWang5209 | ⭕️ | ⭕️ | ❌ | ❌ | ❌ | ❌ | | | | | | | | | | | | | | | | -| MRzzz-cyber | ✅ | ✅ | ✅ | ⭕️ | ⭕️ | ❌ | | | | | | | | | | | | | | | | -| DasNarrenschiff | ✅ | ✅ | ⭕️ | ⭕️ | ❌ | ❌ | | | | | | | | | | | | | | | | -| Tboj | ✅ | ✅ | ⭕️ | ✅ | ✅ | ⭕️ | | | | | | | | | | | | | | | | +| Lookofsea | ✅ | ✅ | ✅ | ✅ | ✅ | ⭕️ | | | | | | | | | | | | | | | | +| OdysseyLee | ✅ | ✅ | ⭕️ | ⭕️ | ✅ | ❌ | | | | | | | | | | | | | | | | +| XieJunhua | ✅ | ✅ | ✅ | ✅ | ✅ | ⭕️ | | | | | | | | | | | | | | | | +| rich-loam | ✅ | ✅ | ✅ | ✅ | ⭕️ | ⭕️ | | | | | | | | | | | | | | | | + 总之希望频率相同的人在 LXDAO 残酷氛围之下相互鼓励与学习交流,找到适合自己的英语精进节奏,加入进来试试吧。 From d1d6dfda07d32820e72e1b713d9a13dfdbaaff10 Mon Sep 17 00:00:00 2001 From: GitHub Action Date: Fri, 28 Jun 2024 16:59:12 +0000 Subject: [PATCH 11/11] Update commit status table --- README.md | 55 ++++++++++++++++++++++++++++--------------------------- 1 file changed, 28 insertions(+), 27 deletions(-) diff --git a/README.md b/README.md index dc5c9a2..58f2eaa 100644 --- a/README.md +++ b/README.md @@ -57,43 +57,44 @@ LXDAO Host 的英语残酷共学第 1 期将着重加强**听和说**的训练 | EICL1st· Name | 06.24 | 06.25 | 06.26 | 06.27 | 06.28 | 06.29 | 06.30 | 07.01 | 07.02 | 07.03 | 07.04 | 07.05 | 07.06 | 07.07 | 07.08 | 07.09 | 07.10 | 07.11 | 07.12 | 07.13 | 07.14 | | ------------- | ---- | ---- | ---- | ---- | ---- | ---- | ---- | ---- | ---- | ---- | ---- | ---- | ---- | ---- | ---- | ---- | ---- | ---- | ---- | ---- | ---- | -| youngtongyang | ✅ | ✅ | ⭕️ | ✅ | ⭕️ | ❌ | | | | | | | | | | | | | | | | -| CNcoooder | ✅ | ✅ | ✅ | ✅ | ✅ | ⭕️ | | | | | | | | | | | | | | | | -| hweu | ✅ | ✅ | ✅ | ⭕️ | ⭕️ | ❌ | | | | | | | | | | | | | | | | -| LouiseCat | ✅ | ⭕️ | ✅ | ⭕️ | ✅ | ❌ | | | | | | | | | | | | | | | | +| brucexu-eth | ✅ | ✅ | ✅ | ✅ | ✅ | ⭕️ | | | | | | | | | | | | | | | | +| Nourbit | ✅ | ✅ | ✅ | ⭕️ | ⭕️ | ❌ | | | | | | | | | | | | | | | | +| tttzzhh | ✅ | ✅ | ✅ | ✅ | ⭕️ | ⭕️ | | | | | | | | | | | | | | | | | ShelynL | ⭕️ | ⭕️ | ❌ | ❌ | ❌ | ❌ | | | | | | | | | | | | | | | | -| qingfengzxr | ✅ | ⭕️ | ✅ | ✅ | ⭕️ | ❌ | | | | | | | | | | | | | | | | -| luffythink | ✅ | ✅ | ✅ | ✅ | ✅ | ⭕️ | | | | | | | | | | | | | | | | +| Web3Pignard | ✅ | ✅ | ✅ | ✅ | ⭕️ | ⭕️ | | | | | | | | | | | | | | | | +| LunaWang5209 | ⭕️ | ⭕️ | ❌ | ❌ | ❌ | ❌ | | | | | | | | | | | | | | | | +| Tboj | ✅ | ✅ | ⭕️ | ✅ | ✅ | ⭕️ | | | | | | | | | | | | | | | | +| GeeekerK | ⭕️ | ⭕️ | ✅ | ✅ | ❌ | ❌ | | | | | | | | | | | | | | | | +| OdysseyLee | ✅ | ✅ | ⭕️ | ⭕️ | ✅ | ❌ | | | | | | | | | | | | | | | | +| ymjrcc | ✅ | ✅ | ✅ | ✅ | ✅ | ⭕️ | | | | | | | | | | | | | | | | | wodeche | ✅ | ✅ | ✅ | ✅ | ✅ | ⭕️ | | | | | | | | | | | | | | | | -| penny777eth | ✅ | ✅ | ✅ | ✅ | ✅ | ⭕️ | | | | | | | | | | | | | | | | -| actions-user | ⭕️ | ⭕️ | ❌ | ❌ | ❌ | ❌ | | | | | | | | | | | | | | | | +| rich-loam | ✅ | ✅ | ✅ | ✅ | ⭕️ | ⭕️ | | | | | | | | | | | | | | | | +| coderprepares | ✅ | ✅ | ⭕️ | ✅ | ✅ | ⭕️ | | | | | | | | | | | | | | | | | muxin-web3 | ✅ | ✅ | ✅ | ✅ | ✅ | ⭕️ | | | | | | | | | | | | | | | | | piperTang | ⭕️ | ⭕️ | ❌ | ❌ | ❌ | ❌ | | | | | | | | | | | | | | | | -| Nourbit | ✅ | ✅ | ✅ | ⭕️ | ⭕️ | ❌ | | | | | | | | | | | | | | | | -| Tboj | ✅ | ✅ | ⭕️ | ✅ | ✅ | ⭕️ | | | | | | | | | | | | | | | | -| DasNarrenschiff | ✅ | ✅ | ⭕️ | ⭕️ | ❌ | ❌ | | | | | | | | | | | | | | | | -| rayjun | ✅ | ⭕️ | ✅ | ⭕️ | ✅ | ❌ | | | | | | | | | | | | | | | | +| minye420 | ⭕️ | ⭕️ | ❌ | ❌ | ❌ | ❌ | | | | | | | | | | | | | | | | | weifengHuang | ✅ | ⭕️ | ⭕️ | ❌ | ❌ | ❌ | | | | | | | | | | | | | | | | -| brucexu-eth | ✅ | ✅ | ✅ | ✅ | ✅ | ⭕️ | | | | | | | | | | | | | | | | -| nocb | ✅ | ✅ | ✅ | ✅ | ✅ | ⭕️ | | | | | | | | | | | | | | | | -| GeeekerK | ⭕️ | ⭕️ | ✅ | ✅ | ❌ | ❌ | | | | | | | | | | | | | | | | -| ymjrcc | ✅ | ✅ | ✅ | ✅ | ✅ | ⭕️ | | | | | | | | | | | | | | | | +| hweu | ✅ | ✅ | ✅ | ⭕️ | ⭕️ | ❌ | | | | | | | | | | | | | | | | +| DasNarrenschiff | ✅ | ✅ | ⭕️ | ⭕️ | ✅ | ❌ | | | | | | | | | | | | | | | | +| MRzzz-cyber | ✅ | ✅ | ✅ | ⭕️ | ⭕️ | ❌ | | | | | | | | | | | | | | | | | UnsignedInt8 | ✅ | ✅ | ✅ | ✅ | ✅ | ⭕️ | | | | | | | | | | | | | | | | -| sfgshxgg | ⭕️ | ⭕️ | ❌ | ❌ | ❌ | ❌ | | | | | | | | | | | | | | | | -| DerickIT | ✅ | ✅ | ✅ | ✅ | ✅ | ⭕️ | | | | | | | | | | | | | | | | | cikey247 | ✅ | ✅ | ✅ | ✅ | ✅ | ⭕️ | | | | | | | | | | | | | | | | -| zhuyansen | ✅ | ✅ | ✅ | ✅ | ✅ | ⭕️ | | | | | | | | | | | | | | | | +| qingfengzxr | ✅ | ⭕️ | ✅ | ✅ | ⭕️ | ❌ | | | | | | | | | | | | | | | | +| actions-user | ⭕️ | ⭕️ | ❌ | ❌ | ❌ | ❌ | | | | | | | | | | | | | | | | | Hu-Wentao | ✅ | ✅ | ⭕️ | ⭕️ | ✅ | ❌ | | | | | | | | | | | | | | | | -| Web3Pignard | ✅ | ✅ | ✅ | ✅ | ⭕️ | ⭕️ | | | | | | | | | | | | | | | | -| coderprepares | ✅ | ✅ | ⭕️ | ✅ | ✅ | ⭕️ | | | | | | | | | | | | | | | | -| tttzzhh | ✅ | ✅ | ✅ | ✅ | ⭕️ | ⭕️ | | | | | | | | | | | | | | | | -| MRzzz-cyber | ✅ | ✅ | ✅ | ⭕️ | ⭕️ | ❌ | | | | | | | | | | | | | | | | -| minye420 | ⭕️ | ⭕️ | ❌ | ❌ | ❌ | ❌ | | | | | | | | | | | | | | | | -| LunaWang5209 | ⭕️ | ⭕️ | ❌ | ❌ | ❌ | ❌ | | | | | | | | | | | | | | | | | Lookofsea | ✅ | ✅ | ✅ | ✅ | ✅ | ⭕️ | | | | | | | | | | | | | | | | -| OdysseyLee | ✅ | ✅ | ⭕️ | ⭕️ | ✅ | ❌ | | | | | | | | | | | | | | | | +| youngtongyang | ✅ | ✅ | ⭕️ | ✅ | ⭕️ | ❌ | | | | | | | | | | | | | | | | +| LouiseCat | ✅ | ⭕️ | ✅ | ⭕️ | ✅ | ❌ | | | | | | | | | | | | | | | | +| DerickIT | ✅ | ✅ | ✅ | ✅ | ✅ | ⭕️ | | | | | | | | | | | | | | | | +| nocb | ✅ | ✅ | ✅ | ✅ | ✅ | ⭕️ | | | | | | | | | | | | | | | | +| rayjun | ✅ | ⭕️ | ✅ | ⭕️ | ✅ | ❌ | | | | | | | | | | | | | | | | +| penny777eth | ✅ | ✅ | ✅ | ✅ | ✅ | ⭕️ | | | | | | | | | | | | | | | | +| sfgshxgg | ⭕️ | ⭕️ | ❌ | ❌ | ❌ | ❌ | | | | | | | | | | | | | | | | +| CNcoooder | ✅ | ✅ | ✅ | ✅ | ✅ | ⭕️ | | | | | | | | | | | | | | | | +| zhuyansen | ✅ | ✅ | ✅ | ✅ | ✅ | ⭕️ | | | | | | | | | | | | | | | | +| luffythink | ✅ | ✅ | ✅ | ✅ | ✅ | ⭕️ | | | | | | | | | | | | | | | | | XieJunhua | ✅ | ✅ | ✅ | ✅ | ✅ | ⭕️ | | | | | | | | | | | | | | | | -| rich-loam | ✅ | ✅ | ✅ | ✅ | ⭕️ | ⭕️ | | | | | | | | | | | | | | | | +