mirror of
https://github.com/Sliverkiss/QuantumultX.git
synced 2025-12-17 23:35:22 +08:00
Delete .github/workflows/ClearCommits.yml
This commit is contained in:
27
.github/workflows/ClearCommits.yml
vendored
27
.github/workflows/ClearCommits.yml
vendored
@@ -1,27 +0,0 @@
|
|||||||
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
|
|
||||||
- name: Cleanup Workflow
|
|
||||||
uses: Mattraks/delete-workflow-runs@main
|
|
||||||
with:
|
|
||||||
retain_days: 0
|
|
||||||
keep_minimum_runs: 0
|
|
||||||
Reference in New Issue
Block a user