Skip to content

Commit

Permalink
init
Browse files Browse the repository at this point in the history
  • Loading branch information
boyugou committed Oct 30, 2024
1 parent c9e59c8 commit ba5ca31
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 8 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Update README with Sorted Papers Content
on:
push:
paths:
- 'papers.md' # 监听 papers.md 文件的更新
- 'papers_add_paper_here.md' # 监听 papers_add_paper_here.md 文件的更新
- 'sort_by_date.py' # 监听 sort_by_date.py 脚本的更新
- '.github/workflows/temp_readme.md' # 监听 sort_by_date.py 脚本的更新
schedule:
Expand Down Expand Up @@ -31,8 +31,8 @@ jobs:
- name: Update temp_readme.md with sorted papers content
run: |
# 读取更新后的 papers.md 内容
CONTENT=$(cat papers.md)
# 读取更新后的 papers_add_paper_here.md 内容
CONTENT=$(cat papers_add_paper_here.md)
# 使用 sed 插入 content 到 temp_readme.md 的占位符位置
sed -i '/{{insert_content_here}}/{
Expand All @@ -49,8 +49,8 @@ jobs:
run: |
git config --global user.name "github-actions"
git config --global user.email "[email protected]"
git add README.md papers.md
git commit -m "Update README with sorted content from papers.md"
git add README.md papers_add_paper_here.md
git commit -m "Update README with sorted content from papers_add_paper_here.md"
git push
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
8 changes: 7 additions & 1 deletion .github/workflows/temp_readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,4 +64,10 @@ For ease of use, feel free to use "auto_prompt.txt" alongside ChatGPT to help fo
- [Awesome-LLM-based-Web-Agent-and-Tools](https://github.com/albzni/Awesome-LLM-based-Web-Agent-and-Tools)
- [Awesome-GUI-Agent](https://github.com/showlab/Awesome-GUI-Agent)
- [computer-control-agent-knowledge-base](https://github.com/James4Ever0/computer_control_agent_knowledge_base)
- [awesome-ui-agent](https://github.com/boyugou/awesome-ui-agents) (this repository is based on it to some extent)
- [awesome-ui-agent](https://github.com/boyugou/awesome-ui-agents) (this repository is based on it to some extent)

## Contributors

<a href="https://github.com/boyugou/GUI-Agents-Paper-List/graphs/contributors">
<img src="https://contrib.rocks/image?repo=boyugou/GUI-Agents-Paper-List" />
</a>
File renamed without changes.
4 changes: 2 additions & 2 deletions sort_by_date.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@


# 读取文件内容
with open("papers.md", "r", encoding="utf-8") as file:
with open("papers_add_paper_here.md", "r", encoding="utf-8") as file:
sample_input = file.read()


Expand Down Expand Up @@ -75,6 +75,6 @@ def parse_date_with_defaults(date_str):

print(papers_df)

with open("papers.md", "w", encoding="utf-8") as file:
with open("papers_add_paper_here.md", "w", encoding="utf-8") as file:
file.write(final_output)

0 comments on commit ba5ca31

Please sign in to comment.