30 lines
823 B
YAML
30 lines
823 B
YAML
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
|