File tree Expand file tree Collapse file tree 1 file changed +3
-15
lines changed Expand file tree Collapse file tree 1 file changed +3
-15
lines changed Original file line number Diff line number Diff line change 1
1
import type { BuddyBotConfig } from 'buddy-bot'
2
2
3
- // Extended configuration with nullable respectLatest
4
- interface ExtendedBuddyBotConfig extends BuddyBotConfig {
5
- packages ?: {
6
- strategy ?: string
7
- ignore ?: string [ ]
8
- ignorePaths ?: string [ ]
9
- respectLatest ?: boolean | null // Nullable, defaults to true
10
- }
11
- }
12
-
13
- const config : ExtendedBuddyBotConfig = {
3
+ const config : BuddyBotConfig = {
14
4
repository : {
15
5
owner : 'stacksjs' ,
16
6
name : 'launchpad' ,
@@ -44,10 +34,8 @@ const config: ExtendedBuddyBotConfig = {
44
34
// Example: 'packages/test-*/**', '**/*test-envs/**', 'apps/legacy/**'
45
35
'packages/launchpad/test/fixtures/pkgx.yml' , // Ignore test fixtures that use 'latest'
46
36
] ,
47
- // Configuration for respecting 'latest' versions (nullable, defaults to true)
48
- respectLatest : process . env . BUDDY_BOT_RESPECT_LATEST === 'false' ? false :
49
- process . env . BUDDY_BOT_RESPECT_LATEST === 'true' ? true :
50
- null , // null means use default behavior (true)
37
+ // Configuration for respecting 'latest' versions
38
+ respectLatest : true , // Don't create PRs for packages set to 'latest'
51
39
} ,
52
40
verbose : false ,
53
41
}
You can’t perform that action at this time.
0 commit comments