Skip to content

🔧 Chore: Add Renovate bot #16

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 24 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions .github /renovate.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": ["config:recommended"],
"baseBranches": ["main"],
"gitAuthor": "Renovate Bot <[email protected]>",
"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"
]
}
]
}
19 changes: 19 additions & 0 deletions .github /workflows/renovate.yml
Original file line number Diff line number Diff line change
@@ -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/[email protected]
- name: Self-hosted Renovate
uses: renovatebot/[email protected]
with:
configurationFile: .github/renovate.json
token: ${{ secrets.RENOVATE_TOKEN }}
env:
LOG_LEVEL: debug