diff --git a/.github/dependabot.yml b/.github/dependabot.yml deleted file mode 100644 index 191adbea..00000000 --- a/.github/dependabot.yml +++ /dev/null @@ -1,20 +0,0 @@ -version: 2 -updates: -- package-ecosystem: "github-actions" - directory: "/" - schedule: - interval: "weekly" - cooldown: - default-days: 2 - commit-message: - prefix: "ci(github-actions)" -- package-ecosystem: npm - directory: "/" - schedule: - interval: "weekly" - versioning-strategy: increase - cooldown: - default-days: 2 - commit-message: - prefix: "deps" - prefix-development: "build(deps-dev)" diff --git a/.github/workflows/dependabot-auto-merge.yml b/.github/workflows/dependabot-auto-merge.yml deleted file mode 100644 index 6c18fd04..00000000 --- a/.github/workflows/dependabot-auto-merge.yml +++ /dev/null @@ -1,26 +0,0 @@ -name: Dependabot auto-merge -on: - pull_request: - branches: - - main - -permissions: - contents: write - pull-requests: write - -jobs: - dependabot: - runs-on: ubuntu-latest - if: ${{ github.event.pull_request.user.login == 'dependabot[bot]' }} - steps: - - name: Dependabot metadata - id: metadata - uses: dependabot/fetch-metadata@v3 - with: - github-token: "${{ secrets.GITHUB_TOKEN }}" - - name: Enable auto-merge for Dependabot PRs - if: ${{contains(fromJSON('["version-update:semver-minor", "version-update:semver-patch"]'), steps.metadata.outputs.update-type)}} - run: gh pr review --approve "$PR_URL" && gh pr merge --auto --rebase "$PR_URL" - env: - PR_URL: ${{github.event.pull_request.html_url}} - GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} diff --git a/plugins/ui5/.mcp.json b/plugins/ui5/.mcp.json index d75c8ad3..37209503 100644 --- a/plugins/ui5/.mcp.json +++ b/plugins/ui5/.mcp.json @@ -2,7 +2,7 @@ "mcpServers": { "ui5-mcp-server": { "command": "npx", - "args": ["-y", "@ui5/mcp-server@latest"] + "args": ["-y", "@ui5/mcp-server@0.3.2"] } } } diff --git a/renovate.json b/renovate.json new file mode 100644 index 00000000..a0aebce0 --- /dev/null +++ b/renovate.json @@ -0,0 +1,75 @@ +{ + "$schema": "https://docs.renovatebot.com/renovate-schema.json", + "extends": [ + "config:recommended" + ], + "rangeStrategy": "replace", + "lockFileMaintenance": { + "enabled": true, + "automerge": true, + "commitMessagePrefix": "build:", + "commitMessageAction": "In-range update of npm dependencies", + "schedule": [ + "* 0-8 * * 1" + ] + }, + "packageRules": [ + { + "matchDatasources": [ + "npm" + ], + "minimumReleaseAge": "3 days" + }, + { + "matchDepNames": [ + "*" + ], + "automerge": true, + "commitMessagePrefix": "build(deps-dev):", + "commitMessageAction": "Bump", + "schedule": [ + "* 8-16 * * 1" + ] + }, + { + "matchManagers": [ + "github-actions" + ], + "automerge": true, + "commitMessagePrefix": "ci(github-actions):", + "commitMessageAction": "Bump", + "schedule": [ + "* 8-16 * * 1" + ] + }, + { + "matchPackageNames": [ + "@ui5/mcp-server" + ], + "automerge": true, + "minimumReleaseAge": null, + "commitMessagePrefix": "deps:", + "schedule": null + }, + { + "matchPackageNames": [ + "node", + "npm" + ], + "enabled": false + } + ], + "customManagers": [ + { + "customType": "regex", + "managerFilePatterns": [ + "/plugins/ui5/\\.mcp\\.json/" + ], + "matchStrings": [ + "@ui5/mcp-server@(?[^\"]+)" + ], + "depNameTemplate": "@ui5/mcp-server", + "datasourceTemplate": "npm" + } + ] +}