mirror of
https://github.com/Sliverkiss/QuantumultX.git
synced 2025-12-19 08:14:54 +08:00
Create clear_commits.yaml
This commit is contained in:
22
.github/workflows/clear_commits.yaml
vendored
Normal file
22
.github/workflows/clear_commits.yaml
vendored
Normal file
@@ -0,0 +1,22 @@
|
|||||||
|
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
|
||||||
Reference in New Issue
Block a user