From c99ca0eb3264eb7c3fa85e936e569cd204263e98 Mon Sep 17 00:00:00 2001 From: Ryuzo Yamamoto Date: Thu, 27 Feb 2025 13:49:05 +0900 Subject: [PATCH] chore: add Renovate config --- .github/workflows/lint-workflow.yaml | 2 ++ .github/workflows/validate-renovate-config.yaml | 17 +++++++++++++++++ renovate.json | 4 ++++ 3 files changed, 23 insertions(+) create mode 100644 .github/workflows/validate-renovate-config.yaml create mode 100644 renovate.json diff --git a/.github/workflows/lint-workflow.yaml b/.github/workflows/lint-workflow.yaml index 1e210ec..12fc6a9 100644 --- a/.github/workflows/lint-workflow.yaml +++ b/.github/workflows/lint-workflow.yaml @@ -1,6 +1,8 @@ name: Lint GitHub Actions workflows on: pull_request: + paths: + - .github/** permissions: contents: read diff --git a/.github/workflows/validate-renovate-config.yaml b/.github/workflows/validate-renovate-config.yaml new file mode 100644 index 0000000..7180d70 --- /dev/null +++ b/.github/workflows/validate-renovate-config.yaml @@ -0,0 +1,17 @@ +name: Validate Renovate config + +on: + pull_request: + paths: + - renovate.json + +jobs: + validate: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 + + - name: Validate Renovate config + uses: suzuki-shunsuke/github-action-renovate-config-validator@c22827f47f4f4a5364bdba19e1fe36907ef1318e # v1.1.1 + with: + config_file_path: renovate.json diff --git a/renovate.json b/renovate.json new file mode 100644 index 0000000..2922f68 --- /dev/null +++ b/renovate.json @@ -0,0 +1,4 @@ +{ + "$schema": "https://docs.renovatebot.com/renovate-schema.json", + "extends": ["github>tailor-inc/renovate-config"] +}