ci #85412
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: "*/10 * * * *" | |
jobs: | |
autogreen: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Clone repository | |
uses: actions/checkout@v3 | |
- name: Auto green | |
run: | | |
git config --local user.email "local@199771.xyz" | |
git config --local user.name "本地主机" | |
git remote set-url origin https://${{ github.actor }}:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }} | |
git pull --rebase | |
git commit --allow-empty -m "没有共产党就没有新中国" | |
git push |