diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 00000000..16173c3c --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,29 @@ +version: 2 +updates: + - package-ecosystem: "github-actions" + directory: "/" + groups: + github: + patterns: + - "actions/*" + - "octokit/*" + - "github/*" + schedule: + interval: "weekly" + - package-ecosystem: "npm" + directory: "/" + groups: + dependencies: + patterns: + - "octokit/*" + - "https-proxy-agent" + dev-dependencies: + patterns: + - "@types/*" + - "@vercel/*" + - "eslint*" + - "jest/*" + - "typescript" + - "*" + schedule: + interval: "weekly" diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3ca62f01..de066ff3 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -18,15 +18,6 @@ jobs: with: config: '.markdownlint.json' args: '**/*.md .github/**/*.md' - lint-renovate: - if: ${{ ! github.event.pull_request.head.repo.fork }} - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - name: 🧼 lint renovate config - uses: suzuki-shunsuke/github-action-renovate-config-validator@v0.1.3 - with: - config_file_path: renovate.json build-changes: if: ${{ ! github.event.pull_request.head.repo.fork }} runs-on: ubuntu-latest diff --git a/.github/workflows/fork.yml b/.github/workflows/fork.yml index 71be65d4..3a5a1cc3 100644 --- a/.github/workflows/fork.yml +++ b/.github/workflows/fork.yml @@ -13,14 +13,6 @@ jobs: with: config: '.markdownlint.json' args: '**/*.md .github/**/*.md' - lint-renovate: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - name: 🧼 lint renovate config - uses: suzuki-shunsuke/github-action-renovate-config-validator@v0.1.3 - with: - config_file_path: renovate.json build-fork: if: ${{ github.event.pull_request.head.repo.fork }} runs-on: ubuntu-latest diff --git a/renovate.json b/renovate.json index b16aeccf..db9b3406 100644 --- a/renovate.json +++ b/renovate.json @@ -1,46 +1 @@ -{ - "$schema": "https://docs.renovatebot.com/renovate-schema.json", - "description": "Renovate configuration recommended by the Wayfair OSPO", - "labels": [ - "renovate/{{depName}}" - ], - "extends": [ - "config:base", - ":dependencyDashboard", - ":rebaseStalePrs" - ], - "schedule": [ - "before 3am every weekday" - ], - "enabledManagers": [ - "github-actions", - "npm" - ], - "packageRules": [ - { - "matchPackageNames": ["jest", "ts-jest", "@types/jest"], - "matchPackagePrefixes": ["jest-"], - "groupName": "Jest", - "allowedVersions": "28.x" - }, - { - "matchPackageNames": ["eslint"], - "matchPackagePrefixes": ["eslint-", "@typescript-eslint/"], - "groupName": "ESLint" - }, - { - "matchPackageNames": ["@types/node"], - "groupName": "Node", - "allowedVersions": "17.x" - }, - { - "matchPackageNames": ["typescript"], - "groupName": "TypeScript", - "allowedVersions": "4.x" - }, - { - "matchManagers": ["github-actions"], - "groupName": "GitHub Actions" - } - ] -} +{ "enabled": false }