Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .github/workflows/cleanup.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ jobs:
ref: generated-docs-preview
- name: Clean docs branch
run: |
git config user.name "github-actions[bot]"
git config user.email "github-actions[bot]@users.noreply.github.com"
cd pr/
# keep the last 25 prs
dirs=$(ls -1d [0-9]* | sort -n)
Expand All @@ -37,5 +39,6 @@ jobs:
echo "$dirs_to_remove" | xargs rm -rf
fi
git add .
git diff --cached --quiet && echo "Nothing to clean up" && exit 0
git commit -m "Cleanup old docs"
git push
Loading