From a99382362c79a229365b61adb3147cd40df5e384 Mon Sep 17 00:00:00 2001 From: Thomas Farr Date: Thu, 7 Nov 2024 10:03:28 +1300 Subject: [PATCH] Add dependabot config to auto-update GitHub Actions Signed-off-by: Thomas Farr --- .github/dependabot.yml | 13 +++++++++++-- .github/workflows/dependabot_pr.yml | 2 +- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index db3ca49853..8d1658db6c 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -1,18 +1,27 @@ updates: - directory: / - open-pull-requests-limit: 1 package-ecosystem: gradle + open-pull-requests-limit: 3 schedule: interval: weekly labels: - "dependabot" - "dependencies" - directory: /java-client/ - open-pull-requests-limit: 1 package-ecosystem: gradle + open-pull-requests-limit: 3 schedule: interval: weekly labels: - "dependabot" - "dependencies" + - directory: / + package-ecosystem: github-actions + open-pull-requests-limit: 3 + schedule: + interval: weekly + labels: + - "dependabot" + - "dependencies" + - "github-actions" version: 2 diff --git a/.github/workflows/dependabot_pr.yml b/.github/workflows/dependabot_pr.yml index b7328224a7..b8035f5b32 100644 --- a/.github/workflows/dependabot_pr.yml +++ b/.github/workflows/dependabot_pr.yml @@ -14,7 +14,7 @@ jobs: permissions: pull-requests: write contents: write - if: ${{ github.actor == 'dependabot[bot]' }} + if: ${{ github.actor == 'dependabot[bot]' && !contains(github.event.pull_request.labels.*.name, 'github-actions') }} steps: - name: GitHub App token id: github_app_token