ci #119
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: ci | |
on: | |
push: | |
branches: | |
- master | |
schedule: | |
- cron: "0 2 * * *" | |
jobs: | |
autogreen: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
steps: | |
- name: Clone repository | |
uses: actions/checkout@v3 | |
- name: Auto Commit | |
run: | | |
git config --local user.email "zouxiangq@qq.com" | |
git config --local user.name "fxzou" | |
git remote set-url origin https://${{ github.actor }}:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }} | |
git pull --rebase | |
echo "// 添加时间备注 $(date -I)" >> likeview/src/main/java/cn/izouxiang/likeview/CommentPathAdapter.java | |
git add likeview/src/main/java/cn/izouxiang/likeview/CommentPathAdapter.java | |
git commit --allow-empty -m "随便提交点东西" | |
git push |