Skip to content

Commit

Permalink
Refactor : Update update_recent_works.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Kimgabe authored Feb 11, 2024
1 parent abe3b0f commit efa9613
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/scripts/update_recent_works.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@
break
files = commit.files
for file in files:
if file.filename.endswith(("README.md", ".DS_Store")) or file.filename.startswith(".github/"):
# .DS_Store를 포함하는 경우 제외
if ".DS_Store" in file.filename or file.filename.endswith("README.md") or file.filename.startswith(".github/"):
continue
# 파일의 전체 경로를 유니크한 키로 사용
full_path = file.filename
full_path = file.filename # 파일의 전체 경로를 유니크한 키로 사용
if full_path not in unique_updates: # 동일한 전체 경로의 커밋이 아직 없으면 추가
date = commit.commit.author.date.strftime("%Y-%m-%d")
author = commit.commit.author.name
Expand Down

0 comments on commit efa9613

Please sign in to comment.