From 909a19af437d5952e1cdce28ff057ecddd204642 Mon Sep 17 00:00:00 2001 From: ssig33 Date: Sat, 15 Nov 2025 16:04:30 +0900 Subject: [PATCH] update .github/workflows/renovate.yaml, renovate.json --- .github/workflows/renovate.yaml | 28 ++++++++++++++++++++++++++++ renovate.json | 12 ++++++++++++ 2 files changed, 40 insertions(+) create mode 100644 .github/workflows/renovate.yaml create mode 100644 renovate.json diff --git a/.github/workflows/renovate.yaml b/.github/workflows/renovate.yaml new file mode 100644 index 0000000..1f5a5e6 --- /dev/null +++ b/.github/workflows/renovate.yaml @@ -0,0 +1,28 @@ +name: Renovate + +on: + schedule: + # Daily at midnight + - cron: '0 0 * * *' + workflow_dispatch: + push: + branches: + - main + +env: + GITHUB_COM_TOKEN: ${{ secrets.SECRET_GITHUB_COM_TOKEN }} + + +jobs: + renovate: + runs-on: ubuntu-latest + steps: + - name: Checkout repository + uses: actions/checkout@v5 + - name: setup node + uses: actions/setup-node@v3 + with: + node-version: '24' + - run: npm install -g renovate + - name: Run Renovate + run: renovate --token=${{ secrets.THIS_TOKEN }} --endpoint=https://gitea.ssig33.com --platform=gitea --autodiscover --autodiscover-filter ${{ github.repository }} diff --git a/renovate.json b/renovate.json new file mode 100644 index 0000000..adb7f98 --- /dev/null +++ b/renovate.json @@ -0,0 +1,12 @@ +{ + "$schema": "https://docs.renovatebot.com/renovate-schema.json", + "extends": ["config:recommended"], + "prHourlyLimit": 200, + "packageRules": [ + { + "groupName": "Minor and Patch dependencies", + "matchUpdateTypes": ["minor", "patch"], + "automerge": true + } + ] +}