diff --git a/.github/auto-merge.yml b/.github/auto-merge.yml deleted file mode 100644 index ef3d7c49..00000000 --- a/.github/auto-merge.yml +++ /dev/null @@ -1,9 +0,0 @@ -- match: - dependency_type: development - update_type: "semver:minor" -- match: - dependency_type: production - update_type: "security:minor" -- match: - dependency_type: production - update_type: "semver:patch" diff --git a/.github/dependabot.yml b/.github/dependabot.yml deleted file mode 100644 index 2a29c50b..00000000 --- a/.github/dependabot.yml +++ /dev/null @@ -1,12 +0,0 @@ -version: 2 -updates: - - package-ecosystem: npm - directory: "/" - schedule: - interval: monthly - time: "04:00" - timezone: Europe/Berlin - open-pull-requests-limit: 5 - assignees: - - AlCalzone - versioning-strategy: increase diff --git a/.github/renovate.json5 b/.github/renovate.json5 new file mode 100644 index 00000000..75830ecc --- /dev/null +++ b/.github/renovate.json5 @@ -0,0 +1,11 @@ +{ + "$schema": "https://docs.renovatebot.com/renovate-schema.json", + "extends": ["github>AlCalzone/renovate-config:library"], + "packageRules": [ + { + // Raise together with engines.node + "matchPackageNames": ["@types/node"], + "allowedVersions": "<23" + } + ] +} diff --git a/.github/workflows/dependabot-automerge.yml b/.github/workflows/dependabot-automerge.yml deleted file mode 100644 index 7aa57587..00000000 --- a/.github/workflows/dependabot-automerge.yml +++ /dev/null @@ -1,24 +0,0 @@ -# Automatically merge Dependabot PRs when version comparison is within the range -# that is configured in .github/auto-merge.yml - -name: Auto-Merge Dependabot PRs - -on: - # WARNING: This needs to be run in the PR base, DO NOT build untrusted code in this action - # details under https://github.blog/changelog/2021-02-19-github-actions-workflows-triggered-by-dependabot-prs-will-run-with-read-only-permissions/ - pull_request_target: - -jobs: - auto-merge: - if: github.actor == 'dependabot[bot]' - runs-on: ubuntu-latest - steps: - - name: Checkout code - uses: actions/checkout@v6 - - - name: Check if PR should be auto-merged - uses: ahmadnassri/action-dependabot-auto-merge@v2 - with: - github-token: ${{ secrets.AUTO_MERGE_TOKEN }} - # By default, squash and merge, so Github chooses nice commit messages - command: squash and merge