diff --git a/.github/dependabot.yml b/.github/dependabot.yml deleted file mode 100644 index bc1175f8eb..0000000000 --- a/.github/dependabot.yml +++ /dev/null @@ -1,36 +0,0 @@ -version: 2 -registries: - particular-packages: - type: nuget-feed - url: https://f.feedz.io/particular-software/packages/nuget/index.json -updates: -- package-ecosystem: nuget - directory: "/src" - registries: "*" - schedule: - interval: daily - open-pull-requests-limit: 1000 - groups: - AWSSDK: - patterns: - - "AWSSDK.*" - NServiceBusCore: - patterns: - - "NServiceBus" - - "NServiceBus.AcceptanceTesting" - - "NServiceBus.AcceptanceTests.Sources" - - "NServiceBus.PersistenceTests.Sources" - - "NServiceBus.TransportTests.Sources" - ignore: - # Particular.Analyzers updates are distributed via RepoStandards - - dependency-name: "Particular.Analyzers" - # Changing these 3 dependencies affects the .NET SDK and Visual Studio versions we support - # These types of updates should be more intentional than an automated update - - dependency-name: "Microsoft.Build.Utilities.Core" - - dependency-name: "Microsoft.CodeAnalysis.CSharp" - - dependency-name: "Microsoft.CodeAnalysis.CSharp.Workspaces" -- package-ecosystem: "github-actions" - directory: "/" - schedule: - interval: daily - open-pull-requests-limit: 1000 diff --git a/.github/workflows/update-dependencies.yml b/.github/workflows/update-dependencies.yml new file mode 100644 index 0000000000..8cf2585533 --- /dev/null +++ b/.github/workflows/update-dependencies.yml @@ -0,0 +1,24 @@ +name: Update Dependencies +on: + schedule: + # At 14 minutes past the hour, every 6 hours, starting at 3AM UTC + - cron: '14 3/6 * * *' + workflow_dispatch: + inputs: + dryRun: + type: boolean + required: false + default: false + description: Dry run (don't create PRs) + debugMode: + type: boolean + required: false + default: false + description: Run Renovate with debug logging +jobs: + renovate: + uses: particular/shared-workflows/.github/workflows/dependency-updates.yml@main + with: + dryRun: ${{ inputs.dryRun || false }} + debugMode: ${{ inputs.debugMode || false }} + secrets: inherit \ No newline at end of file diff --git a/.reposync.yml b/.reposync.yml index 8b13789179..f0aeba46e9 100644 --- a/.reposync.yml +++ b/.reposync.yml @@ -1 +1,3 @@ +exclusions: +- .github/dependabot.yml