From 54d49c64d340694c814bd0f09eaaf17c0224186c Mon Sep 17 00:00:00 2001 From: moons Date: Tue, 14 Jul 2026 18:02:43 +0900 Subject: [PATCH] renovate --- .github/workflows/renovate.yml | 29 +++++++++++++++++++++++++++++ .gitignore | 1 + renovate.json | 20 ++++++++++++++++++++ 3 files changed, 50 insertions(+) create mode 100644 .github/workflows/renovate.yml create mode 100644 renovate.json diff --git a/.github/workflows/renovate.yml b/.github/workflows/renovate.yml new file mode 100644 index 0000000..b77b670 --- /dev/null +++ b/.github/workflows/renovate.yml @@ -0,0 +1,29 @@ +name: Renovate +on: + schedule: + # Every day at 03:00 JST (18:00 UTC on the previous day). + - cron: "0 18 * * *" + workflow_dispatch: +permissions: + contents: read +concurrency: + group: renovate + cancel-in-progress: false +jobs: + renovate: + name: Update Nix flake inputs + runs-on: ubuntu-latest + timeout-minutes: 60 + steps: + - name: Checkout repository + uses: actions/checkout@v6.0.3 + # Use a PAT or GitHub App token so Renovate PRs trigger the other workflows. + - name: Run Renovate + uses: renovatebot/github-action@v46.1.19 + with: + renovate-version: 43.262.1 + token: ${{ secrets.RENOVATE_TOKEN }} + env: + LOG_LEVEL: info + RENOVATE_PLATFORM: github + RENOVATE_REPOSITORIES: ${{ github.repository }} diff --git a/.gitignore b/.gitignore index 15ac5de..20497bb 100644 --- a/.gitignore +++ b/.gitignore @@ -13,6 +13,7 @@ !/flake.nix !/flake.lock +!/renovate.json !shells/ !hosts/ diff --git a/renovate.json b/renovate.json new file mode 100644 index 0000000..b4f18f2 --- /dev/null +++ b/renovate.json @@ -0,0 +1,20 @@ +{ + "$schema": "https://docs.renovatebot.com/renovate-schema.json", + "extends": ["config:recommended"], + "enabledManagers": ["nix"], + "nix": { + "enabled": true + }, + "prCreation": "immediate", + "semanticCommits": "enabled", + "semanticCommitType": "chore", + "semanticCommitScope": "deps", + "packageRules": [ + { + "description": "Group Nix flake input updates", + "matchManagers": ["nix"], + "groupName": "Nix flake inputs", + "groupSlug": "nix-flake-inputs" + } + ] +}