Skip to content

Updated at 2025-08-30 02:10:37 #336

Updated at 2025-08-30 02:10:37

Updated at 2025-08-30 02:10:37 #336

Workflow file for this run

name: Delete Commit Records Weekly

Check failure on line 1 in .github/workflows/clear.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/clear.yml

Invalid workflow file

(Line: 4, Col: 12): Unexpected value ''
on:
# workflow_dispatch:
schedule:
# - cron: '* 3 1 * *'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Delete commit records
run: |
git config --local user.email "github-actions[bot]@users.noreply.github.com"
git config --local user.name "github-actions[bot]"
git checkout --orphan new_branch
git commit -m "init"
git branch -D master
git branch -m master
git push -f origin master