We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a778c27 commit c9392c0Copy full SHA for c9392c0
.github/workflows/ghpages-cleanup.yml
@@ -23,6 +23,7 @@ jobs:
23
- name: Mark stale directories for removal
24
run: |
25
for dir in */; do
26
+ [ -L "${dir%/}" ] && continue # skip symlinks (trim trailing slash for test)
27
if [ -z "$(git log -n 1 --since "1 month ago" -- "$dir")" ]; then
28
echo "Removing stale directory: $dir"
29
git rm --quiet -r "$dir"
0 commit comments