Skip to content

Commit

Permalink
CI/dependabot: avoid PRs in "staging"
Browse files Browse the repository at this point in the history
Problem:
Dependabot sends PRs to staging repo.

Solution:
Specify "main" branch explicitly.

Related: aws/aws-toolkit-vscode#1706
  • Loading branch information
justinmk3 committed Oct 23, 2023
1 parent d901b2e commit 0b29cc7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
version: 2
updates:
- package-ecosystem: 'npm'
target-branch: 'main' # Avoid updates to "staging".
directory: '/telemetry/vscode'
schedule:
interval: 'daily'
Expand All @@ -18,11 +19,13 @@ updates:
- '@types/*'

- package-ecosystem: 'gradle'
target-branch: 'main' # Avoid updates to "staging".
directory: '/telemetry/jetbrains'
schedule:
interval: 'daily'

- package-ecosystem: 'nuget'
target-branch: 'main' # Avoid updates to "staging".
directory: '/telemetry/csharp'
schedule:
interval: 'daily'
Expand Down

0 comments on commit 0b29cc7

Please sign in to comment.