Skip to content
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

可以加个签到完成后更新master的log吗 #10

Open
b9348 opened this issue Jul 26, 2022 · 4 comments
Open

可以加个签到完成后更新master的log吗 #10

b9348 opened this issue Jul 26, 2022 · 4 comments

Comments

@b9348
Copy link

b9348 commented Jul 26, 2022

RT,
因为分支不更新的话,workflow一段时间后会停用,
每两个月都要续一次
,建议像这个签到一样加run.log防止长期未更新master导致workflow停用
https://github.com/moreant/auto-checkin-sockboom

@bigoceans
Copy link

如下代码加到yml里:

@bigoceans
Copy link

如下代码加到yml里:

- name: Append Success Log #追加成功日志 run: | echo "$(date +%Y-%m-%d\ %H:%M:%S) - 签到成功" >> run.log - name: Push log #更新日志 uses: stefanzweifel/git-auto-commit-action@v4 with: commit_message: auto-checkin branch: main
并给予workflow单独权限即可

@b9348
Copy link
Author

b9348 commented Jul 9, 2023

如下代码加到yml里:

- name: Append Success Log #追加成功日志 run: | echo "$(date +%Y-%m-%d\ %H:%M:%S) - 签到成功" >> run.log - name: Push log #更新日志 uses: stefanzweifel/git-auto-commit-action@v4 with: commit_message: auto-checkin branch: main 并给予workflow单独权限即可

https://github.com/b9348/TieBaSign 佬 已经加了 但是好像没有啊

@bigoceans
Copy link

bigoceans commented Jul 9, 2023 via email

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

No branches or pull requests

2 participants