From 9f599606c962adfecc852d547535d64fe14f5c27 Mon Sep 17 00:00:00 2001 From: Justineo Date: Sun, 7 Sep 2025 10:36:47 +0800 Subject: [PATCH 1/2] chore: add renovate --- .github/workflows/renovate.yml | 16 ++++++++++++++++ renovate.json | 4 ++++ 2 files changed, 20 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 00000000..ed628c66 --- /dev/null +++ b/.github/workflows/renovate.yml @@ -0,0 +1,16 @@ +name: Renovate + +on: + workflow_dispatch: + schedule: + - cron: "0 16 * * *" + +jobs: + renovate: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Self-hosted Renovate + uses: renovatebot/github-action@v43.0.10 + with: + token: ${{ secrets.RENOVATE_TOKEN }} diff --git a/renovate.json b/renovate.json new file mode 100644 index 00000000..22a99432 --- /dev/null +++ b/renovate.json @@ -0,0 +1,4 @@ +{ + "$schema": "https://docs.renovatebot.com/renovate-schema.json", + "extends": ["config:recommended"] +} From d19a042c6701f54f0c3ab7da68074fc0f803c9c7 Mon Sep 17 00:00:00 2001 From: Justineo Date: Sun, 7 Sep 2025 22:26:02 +0800 Subject: [PATCH 2/2] chore: add permissions --- .github/workflows/renovate.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/renovate.yml b/.github/workflows/renovate.yml index ed628c66..538e8e74 100644 --- a/.github/workflows/renovate.yml +++ b/.github/workflows/renovate.yml @@ -5,6 +5,9 @@ on: schedule: - cron: "0 16 * * *" +permissions: + contents: read + jobs: renovate: runs-on: ubuntu-latest