From cd69d9da0317e7db784cd05de4c8baae2fb736bd Mon Sep 17 00:00:00 2001 From: Will Garside Date: Wed, 23 Sep 2026 10:10:51 +0100 Subject: [PATCH] chore(deps): configure Renovate updates --- .github/dependabot.yml | 4 +++- .github/workflows/auto-create-pr.yml | 1 + .github/workflows/set-pr-auto-merge.yml | 4 +++- .gitignore | 3 +++ renovate.json | 6 ++++++ 5 files changed, 16 insertions(+), 2 deletions(-) create mode 100644 renovate.json diff --git a/.github/dependabot.yml b/.github/dependabot.yml index e2cac91..ca78c98 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -2,14 +2,15 @@ version: 2 updates: - package-ecosystem: pip + open-pull-requests-limit: 0 directory: / schedule: interval: monthly - open-pull-requests-limit: 20 reviewers: - worgarside - package-ecosystem: github-actions + open-pull-requests-limit: 0 directory: / schedule: interval: monthly @@ -17,6 +18,7 @@ updates: - worgarside - package-ecosystem: npm + open-pull-requests-limit: 0 directory: / schedule: interval: monthly diff --git a/.github/workflows/auto-create-pr.yml b/.github/workflows/auto-create-pr.yml index 5436eaa..f3d041d 100644 --- a/.github/workflows/auto-create-pr.yml +++ b/.github/workflows/auto-create-pr.yml @@ -6,6 +6,7 @@ on: branches-ignore: - main - dependabot/** + - renovate/** workflow_dispatch: jobs: diff --git a/.github/workflows/set-pr-auto-merge.yml b/.github/workflows/set-pr-auto-merge.yml index 47a7c9a..009a8f8 100644 --- a/.github/workflows/set-pr-auto-merge.yml +++ b/.github/workflows/set-pr-auto-merge.yml @@ -15,7 +15,9 @@ concurrency: jobs: set-auto-merge: name: Set PR Auto Merge - if: ${{ !github.event.pull_request.draft }} + if: >- + !github.event.pull_request.draft && + !startsWith(github.head_ref, 'renovate/') uses: worganisation/github-config-files/.github/workflows/__set-pr-auto-merge.yml@0.7.1 with: head-ref: ${{ github.head_ref }} diff --git a/.gitignore b/.gitignore index d4e2647..fac6803 100644 --- a/.gitignore +++ b/.gitignore @@ -344,3 +344,6 @@ custom_components resources/gh_cli/ .github_token + +# Renovate repository policy +!/renovate.json diff --git a/renovate.json b/renovate.json new file mode 100644 index 0000000..249249a --- /dev/null +++ b/renovate.json @@ -0,0 +1,6 @@ +{ + "$schema": "https://docs.renovatebot.com/renovate-schema.json", + "extends": [ + "github>worganisation/github-config-files:renovate-default" + ] +}