diff options
| author | Valentin Popov <valentin@popov.link> | 2026-02-05 17:10:23 +0300 |
|---|---|---|
| committer | Valentin Popov <valentin@popov.link> | 2026-02-05 17:10:23 +0300 |
| commit | 6f7a567dea9c165a519ca5246299dc36681fb7b2 (patch) | |
| tree | 52412d5935b939108d246ea8bcb6fb0a4ed09016 | |
| parent | ddd12b30191cb64ac0c90ea98054777a1335279c (diff) | |
| download | strapi-plugin-checkbox-list-6f7a567dea9c165a519ca5246299dc36681fb7b2.tar.xz strapi-plugin-checkbox-list-6f7a567dea9c165a519ca5246299dc36681fb7b2.zip | |
Add Renovate configuration files for automated dependency management
- Created .renovaterc for Renovate settings, including package rules for digest updates.
- Added renovate.config.cjs to define the Renovate bot's GitHub endpoint and author.
- Introduced a Gitea workflow in .gitea/workflows/renovate.yml to schedule daily runs of Renovate.
| -rw-r--r-- | .gitea/workflows/renovate.yml | 28 | ||||
| -rw-r--r-- | .renovaterc | 30 | ||||
| -rw-r--r-- | renovate.config.cjs | 6 |
3 files changed, 64 insertions, 0 deletions
diff --git a/.gitea/workflows/renovate.yml b/.gitea/workflows/renovate.yml new file mode 100644 index 0000000..ccabfe4 --- /dev/null +++ b/.gitea/workflows/renovate.yml @@ -0,0 +1,28 @@ +name: RenovateBot + +on: + schedule: + - cron: "@daily" + push: + branches: + - master + +jobs: + renovate: + container: ghcr.io/renovatebot/renovate:43 + runs-on: ubuntu-latest + + steps: + - name: Checkout code + uses: actions/checkout@v6 + + - name: Run renovate + run: | + renovate + env: + GITHUB_COM_TOKEN: ${{ secrets.RENOVATE_GITHUB_TOKEN }} + LOG_LEVEL: ${{ vars.RENOVATE_LOG_LEVEL }} + RENOVATE_CONFIG_FILE: renovate.config.cjs + RENOVATE_LOG_LEVEL: ${{ vars.RENOVATE_LOG_LEVEL }} + RENOVATE_REPOSITORIES: ${{ gitea.repository }} + RENOVATE_TOKEN: ${{ secrets.RENOVATE_TOKEN }} diff --git a/.renovaterc b/.renovaterc new file mode 100644 index 0000000..bc629bb --- /dev/null +++ b/.renovaterc @@ -0,0 +1,30 @@ +{ + "$schema": "https://docs.renovatebot.com/renovate-schema.json", + "extends": [ + "config:recommended", + ":disableDependencyDashboard" + ], + "assignees": [ + "valentineus" + ], + "labels": [ + "dependencies", + "automated" + ], + "packageRules": [ + { + "groupName": "all digest updates", + "groupSlug": "all-digest", + "matchUpdateTypes": [ + "minor", + "patch", + "pin", + "digest" + ], + "matchPackageNames": [ + "*" + ], + "automerge": true + } + ] +} diff --git a/renovate.config.cjs b/renovate.config.cjs new file mode 100644 index 0000000..9d56531 --- /dev/null +++ b/renovate.config.cjs @@ -0,0 +1,6 @@ +module.exports = { + endpoint: "https://code.popov.link", + gitAuthor: "renovate[bot] <renovatebot@noreply.localhost>", + optimizeForDisabled: true, + platform: "gitea", +};
\ No newline at end of file |
