Skip to content

CI

CI #291

Workflow file for this run

name: CI
on:
schedule:
- cron: '0 */8 * * *' # 每8个小时运行一次
workflow_dispatch:
jobs:
main:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout Repository
uses: actions/checkout@v3
- name: Update
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
git config --global user.name 'github-actions[bot]'
git config --global user.email 'github-actions[bot]@users.noreply.github.com'
git commit --allow-empty -m "trigger CI"
git push origin HEAD