chore(protect): remove note in readme #428
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| on: | |
| pull_request: | |
| types: | |
| - closed | |
| permissions: | |
| pull-requests: write | |
| contents: write | |
| concurrency: | |
| group: preview-pages-${{ github.ref }} | |
| jobs: | |
| clean-up: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| with: | |
| ref: gh-pages | |
| - name: Clean up | |
| run: | | |
| rm -rf pr-${{ github.event.number }} | |
| git config user.name github-actions[bot] | |
| git config user.email 41898282+github-actions[bot]@users.noreply.github.com | |
| git add . | |
| if ! git diff --cached --quiet; then | |
| git commit -m "Clean preview for pr-${{ github.event.number }}" | |
| git push | |
| fi |