Files
Sliverkiss-QuantumultX/.github/workflows/clear_commits.yaml
2024-10-21 08:37:49 +08:00

23 lines
517 B
YAML
Raw Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
name: Clear Commits
on:
workflow_dispatch:
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4.1.0
with:
ref: X
- name: Configure Git
run: |
git config --local user.email "action@github.com"
git config --local user.name "GitHub Action"
git checkout --orphan clearhistory
git branch -D X
git checkout --orphan X
git add .
git commit -m ""
git push -f -u origin X