From e996147cc42ba090d50a8431fc8dac92eb880ce3 Mon Sep 17 00:00:00 2001 From: Eduardo Villalpando Mello Date: Tue, 27 Oct 2026 16:44:35 -0700 Subject: [PATCH 1/3] chore: streamline Dependabot pull requests Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: a2ce2432-940f-4857-af82-e13dd79370a7 --- .github/dependabot.yml | 5 +++++ .github/workflows/dependabot-auto-approve.yml | 20 +++++++++++++++++++ .github/workflows/pr-labels.yml | 2 +- 3 files changed, 26 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/dependabot-auto-approve.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 88d35338b..f08835f37 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -2,6 +2,11 @@ version: 2 updates: - package-ecosystem: "github-actions" directory: "/" + open-pull-requests-limit: 1 + labels: + - "dependencies" + - "github_actions" + - "skip package*.json" groups: github-actions: patterns: ["*"] diff --git a/.github/workflows/dependabot-auto-approve.yml b/.github/workflows/dependabot-auto-approve.yml new file mode 100644 index 000000000..9104842f4 --- /dev/null +++ b/.github/workflows/dependabot-auto-approve.yml @@ -0,0 +1,20 @@ +name: Dependabot auto-approve + +on: + pull_request_target: + types: [opened, reopened, synchronize, ready_for_review] + +permissions: + pull-requests: write + +jobs: + approve: + if: github.event.pull_request.user.login == 'dependabot[bot]' && !github.event.pull_request.draft + runs-on: ubuntu-latest + steps: + - name: Approve Dependabot PR + run: gh pr review "$PR_NUMBER" --approve --repo "$GH_REPO" + env: + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GH_REPO: ${{ github.repository }} + PR_NUMBER: ${{ github.event.pull_request.number }} diff --git a/.github/workflows/pr-labels.yml b/.github/workflows/pr-labels.yml index aa1cff0f8..901a49952 100644 --- a/.github/workflows/pr-labels.yml +++ b/.github/workflows/pr-labels.yml @@ -21,7 +21,7 @@ jobs: with: mode: minimum count: 1 - labels: 'bug, debt, feature-request, no-changelog' + labels: 'bug, debt, dependencies, feature-request, no-changelog' - name: 'PR has no no-merge label' uses: mheap/github-action-required-labels@23e10fde7e062233401931a0eece796cd9bf3177 # v5.6.0 with: From 587773a7cf43a419c973b01baea303b6786f845f Mon Sep 17 00:00:00 2001 From: Eduardo Villalpando Mello Date: Tue, 27 Oct 2026 16:51:32 -0700 Subject: [PATCH 2/3] chore: group all npm dependency updates Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: a2ce2432-940f-4857-af82-e13dd79370a7 --- .github/dependabot.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index f08835f37..cca6813a6 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -1,5 +1,23 @@ version: 2 updates: + - package-ecosystem: "npm" + directories: + - "/" + - "/api" + open-pull-requests-limit: 1 + labels: + - "dependencies" + - "skip package*.json" + groups: + npm: + patterns: ["*"] + npm-security: + applies-to: security-updates + patterns: ["*"] + schedule: + interval: "weekly" + cooldown: + default-days: 14 - package-ecosystem: "github-actions" directory: "/" open-pull-requests-limit: 1 From 75da65fa628d8cc22779993815928f3ad6144485 Mon Sep 17 00:00:00 2001 From: Eduardo Villalpando Mello Date: Tue, 27 Oct 2026 17:11:56 -0700 Subject: [PATCH 3/3] chore: check Dependabot updates daily Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: a2ce2432-940f-4857-af82-e13dd79370a7 --- .github/dependabot.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index cca6813a6..d6ea0c852 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -15,7 +15,7 @@ updates: applies-to: security-updates patterns: ["*"] schedule: - interval: "weekly" + interval: "daily" cooldown: default-days: 14 - package-ecosystem: "github-actions" @@ -29,7 +29,7 @@ updates: github-actions: patterns: ["*"] schedule: - interval: "weekly" + interval: "daily" cooldown: # Delay updates beyond the highest-risk window after a release. default-days: 14