From 5dc0b1e7cfb6560e8c447cf11337e459b3137be9 Mon Sep 17 00:00:00 2001 From: Souma <101255979+5ouma@users.noreply.github.com> Date: Thu, 21 Nov 2024 18:29:36 +0900 Subject: [PATCH] ci(renovate): Use my preset for automerge (#108) Don't add a reviewer from Renovate and lint the config with pre-commit.ci. --- .github/auto_assign.yml | 1 + .github/renovate.json | 3 +-- .pre-commit-config.yaml | 7 ++++++- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/.github/auto_assign.yml b/.github/auto_assign.yml index 4590200..c79eb6c 100644 --- a/.github/auto_assign.yml +++ b/.github/auto_assign.yml @@ -1,3 +1,4 @@ addReviewers: true addAssignees: author reviewers: [5ouma] +skipUsers: ["renovate[bot]"] diff --git a/.github/renovate.json b/.github/renovate.json index 978d3e6..aa1fb9b 100644 --- a/.github/renovate.json +++ b/.github/renovate.json @@ -1,6 +1,5 @@ { "$schema": "https://docs.renovatebot.com/renovate-schema.json", - "extends": ["config:best-practices"], - "dependencyDashboard": false, + "extends": ["github>5ouma/utils"], "labels": ["⛓️ Dependencies"] } diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 10fc481..3411cf0 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -3,7 +3,6 @@ ci: chore(fix): Auto fixes from pre-commit.com hooks For more information, see https://pre-commit.ci. - autoupdate_commit_msg: "chore(deps): Bump pre-commit hook" repos: - repo: https://github.com/pre-commit/pre-commit-hooks @@ -36,6 +35,12 @@ repos: hooks: - id: actionlint + - repo: https://github.com/renovatebot/pre-commit-hooks + rev: 39.23.0 + hooks: + - id: renovate-config-validator + files: (^|/).?(renovate(?:rc)?|default)(?:\.json5?)?$ + - repo: https://github.com/igorshubovych/markdownlint-cli rev: v0.42.0 hooks: