From 98004a5df02df125596ede1fc18f2567150d5065 Mon Sep 17 00:00:00 2001 From: Patrick Bertsch Date: Thu, 2 Apr 2026 09:55:45 -0600 Subject: [PATCH] ci: reduce Dependabot soak period from 7 days to 2 days for testing --- .github/workflows/dependabot-automerge.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/dependabot-automerge.yml b/.github/workflows/dependabot-automerge.yml index 21a80a5..aff2898 100644 --- a/.github/workflows/dependabot-automerge.yml +++ b/.github/workflows/dependabot-automerge.yml @@ -1,6 +1,6 @@ -name: Dependabot Auto-merge (7-day soak) +name: Dependabot Auto-merge (2-day soak) -# Runs daily. For any open Dependabot PR that is >= 7 days old, approved, and +# Runs daily. For any open Dependabot PR that is >= 2 days old, approved, and # has passing CI — enables auto-merge so the merge queue picks it up. on: @@ -22,8 +22,8 @@ jobs: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} REPO: ${{ github.repository }} run: | - SEVEN_DAYS_AGO=$(date -u -d '7 days ago' '+%Y-%m-%dT%H:%M:%SZ' 2>/dev/null || \ - date -u -v-7d '+%Y-%m-%dT%H:%M:%SZ') + SEVEN_DAYS_AGO=$(date -u -d '2 days ago' '+%Y-%m-%dT%H:%M:%SZ' 2>/dev/null || \ + date -u -v-2d '+%Y-%m-%dT%H:%M:%SZ') echo "Looking for Dependabot PRs opened before $SEVEN_DAYS_AGO ..." @@ -52,9 +52,9 @@ jobs: continue fi - # Skip if less than 7 days old + # Skip if less than 2 days old if [[ "$CREATED" > "$SEVEN_DAYS_AGO" ]]; then - echo "PR #$NUMBER — opened $CREATED, not yet 7 days old, skipping" + echo "PR #$NUMBER — opened $CREATED, not yet 2 days old, skipping" continue fi