diff --git a/.github /renovate.json b/.github /renovate.json new file mode 100644 index 0000000..3d3fb9c --- /dev/null +++ b/.github /renovate.json @@ -0,0 +1,23 @@ +{ + "$schema": "https://docs.renovatebot.com/renovate-schema.json", + "extends": ["config:recommended"], + "baseBranches": ["main"], + "gitAuthor": "Renovate Bot ", + "labels": ["dependencies"], + "dependencyDashboard": false, + "prBodyTemplate": "{{{header}}}{{{table}}}{{{warnings}}}{{{notes}}}{{{changelogs}}}", + "repositories": [ + "penpot/plugin-examples" + ], + "packageRules": [ + { + "enabled": true, + "matchUpdateTypes": ["minor", "patch", "digest"], + "matchDepTypes": [ + "devDependencies", + "dev-dependencies", + "dev" + ] + } + ] +} diff --git a/.github /workflows/renovate.yml b/.github /workflows/renovate.yml new file mode 100644 index 0000000..ac295b8 --- /dev/null +++ b/.github /workflows/renovate.yml @@ -0,0 +1,19 @@ +name: Renovate +on: + # Run at odd times to avoid overlap with too many other workflows on GitHub Actions + # note github actions cron is in UTC so this is 20:12pm every sunday. + schedule: + - cron: "12 20 * * SUN" +jobs: + renovate: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4.2.2 + - name: Self-hosted Renovate + uses: renovatebot/github-action@v41.0.20 + with: + configurationFile: .github/renovate.json + token: ${{ secrets.RENOVATE_TOKEN }} + env: + LOG_LEVEL: debug