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