Skip to content

Commit f7dd24c

Browse files
committed
Mark all gdnative PR docs for GC sweep
1 parent 303e379 commit f7dd24c

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/garbage-collect.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,9 @@ jobs:
3535
# Look in docs/gdext and docs/gdnative repo for all directories starting with "pr-", e.g. "pr-1234".
3636
# Then, issue a GitHub API request to the repo (name of parent directory, "gdext" or "gdnative") to check if the PR is closed.
3737
# If closed, remove the directory.
38+
39+
# Update 2025-01-01: for gdnative, unconditionally close all PR docs.
40+
3841
deletedPrList=( )
3942
for repo in gdext gdnative; do
4043
echo ""
@@ -45,7 +48,9 @@ jobs:
4548
#echo " REST response: $restResult"
4649
prState=$(echo "$restResult" | jq -r .state)
4750
echo "* PR #$prNum is $prState"
48-
if [[ "$prState" == "closed" ]]; then
51+
52+
# gdnative is no longer deployed as of 2025-01-01.
53+
if [[ "$prState" == "closed" || "$repo" == "gdnative" ]]; then
4954
deletedPrList+=( "$repo/$prNum" )
5055
date=$(date -u +"%Y-%m-%dT%H:%M:%SZ")
5156
echo " > Delete PR $dir! Date: $date"

0 commit comments

Comments
 (0)