diff --git a/.github/renovate.json b/.github/renovate.json new file mode 100644 index 0000000..25d25e1 --- /dev/null +++ b/.github/renovate.json @@ -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"] + } \ No newline at end of file diff --git a/.github/workflows/update_dependencies.yml b/.github/workflows/update_dependencies.yml new file mode 100644 index 0000000..d99a026 --- /dev/null +++ b/.github/workflows/update_dependencies.yml @@ -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 \ No newline at end of file