Skip to content

Commit

Permalink
add renovate
Browse files Browse the repository at this point in the history
  • Loading branch information
mucsi96 committed Apr 15, 2024
1 parent 28926c9 commit 1db4e8f
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/renovate.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"dependencyDashboard": true,
"groupName": "all dependencies",
"groupSlug": "all",
"packageRules": [
{
"groupName": "all dependencies",
"groupSlug": "all",
"matchPackagePatterns": ["*"]
}
],
"labels": ["dependencies"]
}
27 changes: 27 additions & 0 deletions .github/workflows/update_dependencies.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Update dependencies

on:
# push:
# branches:
# - main
schedule:
- cron: '7 0 * * 1'

concurrency:
group: any
cancel-in-progress: true

jobs:
update-dependencies:
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write # Requires also "Allow GitHub Actions to create and approve pull requests" to be enabled in the repository settings
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup node
uses: actions/setup-node@v4
# - env:
# LOG_LEVEL: debug
- run: npx renovate --token ${{ secrets.GITHUB_TOKEN }} --platform github --autodiscover

0 comments on commit 1db4e8f

Please sign in to comment.