Skip to content

Commit 5c88d62

Browse files
committed
chore: cleanup stale branches after 2 days
1 parent 6b16781 commit 5c88d62

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/buddy-bot.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -211,10 +211,10 @@ jobs:
211211
if: ${{ github.event.inputs.dry_run != 'true' }}
212212
run: |
213213
echo "🧹 Cleaning up stale buddy-bot branches..."
214-
echo "This will remove branches older than 7 days that don't have associated open PRs"
214+
echo "This will remove branches older than 2 days that don't have associated open PRs"
215215
216216
# Run cleanup automatically (with confirmation disabled in CI)
217-
bunx buddy-bot cleanup --days 7 --force --verbose
217+
bunx buddy-bot cleanup --days 2 --force --verbose
218218
219219
env:
220220
GITHUB_TOKEN: ${{ secrets.BUDDY_BOT_TOKEN || secrets.GITHUB_TOKEN }}

src/setup.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1311,10 +1311,10 @@ ${generateComposerSetupSteps()}
13111311
if: \${{ github.event.inputs.dry_run != 'true' }}
13121312
run: |
13131313
echo "🧹 Cleaning up stale buddy-bot branches..."
1314-
echo "This will remove branches older than 7 days that don't have associated open PRs"
1314+
echo "This will remove branches older than 2 days that don't have associated open PRs"
13151315
13161316
# Run cleanup automatically (with confirmation disabled in CI)
1317-
bunx buddy-bot cleanup --days 7 --force --verbose
1317+
bunx buddy-bot cleanup --days 2 --force --verbose
13181318
13191319
env:
13201320
GITHUB_TOKEN: ${tokenEnv}

0 commit comments

Comments
 (0)