Files
openit/.github/workflows/zz.yml
GitHub Actions cd995d7629 Hello World
2022-06-30 02:18:52 +00:00

25 lines
578 B
YAML

name: zz
on:
# schedule:
# - cron: "* * * * 0"
workflow_dispatch:
jobs:
zz-job:
name: Delete History
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: init
run: |
git config pull.rebase false
git config --local user.name "GitHub Actions"
git config --local user.email "actions@github.com"
- run: |
git checkout --orphan latest_branch
git add -A
git commit -am "Hello World"
git branch -D main
git branch -m main
git push -f origin main