Skip to content

Commit 19073f4

Browse files
committed
Revert "feat: delete-stale-branches, enable"
This reverts commit 4c2c39a.
1 parent 42df209 commit 19073f4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.drone.star

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3672,7 +3672,7 @@ def deleteStaleBranches(ctx):
36723672
},
36733673
},
36743674
"commands": [
3675-
"DRY_RUN=false ./scripts/delete-stale-branches.sh",
3675+
"./scripts/delete-stale-branches.sh",
36763676
],
36773677
},
36783678
],

scripts/delete-stale-branches.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ VERBOSE="${VERBOSE:-false}"
77

88
DAYS_BEFORE_STALE="${DAYS_BEFORE_STALE:-90}"
99
IGNORE_BRANCHES_REGEX="^(main$|master$|stable-|release-|docs$|docs-stable-)"
10-
MAX_BRANCHES_PER_RUN="${MAX_BRANCHES_PER_RUN:-10}"
10+
MAX_BRANCHES_PER_RUN="${MAX_BRANCHES_PER_RUN:-5}"
1111

1212
# Global variables
1313
branch_info_file=""

0 commit comments

Comments
 (0)