From 1ff264b0a01fae8c367217d40bfc5ff2851f1150 Mon Sep 17 00:00:00 2001 From: Rod Vagg Date: Wed, 29 Jul 2026 17:09:17 +1000 Subject: [PATCH] chore(ci): slow down dependabot, group, pin actions by hash --- .github/dependabot.yml | 16 ++++++++++++++-- .github/workflows/test-and-release.yml | 8 ++++---- 2 files changed, 18 insertions(+), 6 deletions(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index f468993..7c22502 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -3,14 +3,26 @@ updates: - package-ecosystem: 'github-actions' directory: '/' schedule: - interval: 'daily' + interval: 'monthly' commit-message: prefix: 'chore' include: 'scope' + cooldown: + default-days: 5 + groups: + github-actions-minor-patch: + patterns: ['*'] + update-types: ['minor', 'patch'] - package-ecosystem: 'npm' directory: '/' schedule: - interval: 'daily' + interval: 'monthly' commit-message: prefix: 'chore' include: 'scope' + cooldown: + default-days: 5 + groups: + npm-minor-patch: + patterns: ['*'] + update-types: ['minor', 'patch'] diff --git a/.github/workflows/test-and-release.yml b/.github/workflows/test-and-release.yml index b570677..f0aa859 100644 --- a/.github/workflows/test-and-release.yml +++ b/.github/workflows/test-and-release.yml @@ -10,11 +10,11 @@ jobs: runs-on: ${{ matrix.os }} steps: - name: Checkout Repository - uses: actions/checkout@v7 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: fetch-depth: 0 - name: Use Node.js ${{ matrix.node }} - uses: actions/setup-node@v7.0.0 + uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0 with: node-version: ${{ matrix.node }} - name: Install Dependencies @@ -34,11 +34,11 @@ jobs: if: github.event_name == 'push' && github.ref == 'refs/heads/main' steps: - name: Checkout - uses: actions/checkout@v7 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: fetch-depth: 0 - name: Setup Node.js - uses: actions/setup-node@v7.0.0 + uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0 with: node-version: lts/* registry-url: 'https://registry.npmjs.org'