Skip to content

Update ci.yml

Update ci.yml #2

Workflow file for this run

name: ci
on:
push:
branches:
- main
schedule:
- cron: 30 15 */2 * *
watch:
types: [started]
jobs:
autogreen:
runs-on: ubuntu-latest
steps:
- name: Clone repository
uses: actions/checkout@v3
- name: Auto green
run: |
git config --local user.email "[email protected]"
git config --local user.name "Starfallan"
git remote set-url origin https://${{ github.actor }}:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}
git pull --rebase
git commit --allow-empty -m "a commit a day keeps your girlfriend away,and make your github more green?"
git push