From e4e8ec2906c5ba24f025866044af983b37f3ffd1 Mon Sep 17 00:00:00 2001 From: Aaron Liang <76561968+AaronL725@users.noreply.github.com> Date: Wed, 15 Jul 2026 00:20:14 +0800 Subject: [PATCH] chore: add one-shot generated content cleanup --- .../temp-cleanup-generated-content.yml | 29 +++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .github/workflows/temp-cleanup-generated-content.yml diff --git a/.github/workflows/temp-cleanup-generated-content.yml b/.github/workflows/temp-cleanup-generated-content.yml new file mode 100644 index 0000000..f2d2091 --- /dev/null +++ b/.github/workflows/temp-cleanup-generated-content.yml @@ -0,0 +1,29 @@ +name: Temporary cleanup generated content + +on: + push: + paths: + - .github/workflows/temp-cleanup-generated-content.yml + workflow_dispatch: + +permissions: + contents: write + +jobs: + cleanup: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + with: + ref: main + fetch-depth: 0 + - name: Remove temporary branch + run: | + git push origin --delete fix/remaining-review-hardening || true + - name: Remove temporary workflow + run: | + git config user.name "github-actions[bot]" + git config user.email "41898282+github-actions[bot]@users.noreply.github.com" + git rm -f .github/workflows/temp-cleanup-generated-content.yml + git commit -m "chore: remove temporary cleanup workflow" + git push origin main