Skip to content

Commit 7657e63

Browse files
committed
chore: more minor updates
chore: wip
1 parent 316f462 commit 7657e63

File tree

15 files changed

+47
-47
lines changed

15 files changed

+47
-47
lines changed

.github/workflows/buddy-check.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,10 +91,10 @@ jobs:
9191
9292
if [ "${{ github.event.inputs.dry_run }}" = "true" ]; then
9393
echo "📋 Running in DRY RUN mode..."
94-
bun buddy update-check --dry-run --verbose
94+
bunx buddy-bot update-check --dry-run --verbose
9595
else
9696
echo "🔄 Running in LIVE mode..."
97-
bun buddy update-check --verbose
97+
bunx buddy-bot update-check --verbose
9898
fi
9999
100100
env:

.github/workflows/buddy-dashboard.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ jobs:
104104
set -e # Exit on any error
105105
106106
# Build the command
107-
COMMAND="bun buddy dashboard"
107+
COMMAND="bunx buddy-bot dashboard"
108108
109109
if [ "$PIN" = "true" ]; then
110110
COMMAND="$COMMAND --pin"
@@ -131,9 +131,9 @@ jobs:
131131
# Run scan to show what would be included
132132
echo "🔍 Scanning for dependencies that would be included:"
133133
if [ "$VERBOSE" = "true" ]; then
134-
bun buddy scan --verbose
134+
bunx buddy-bot scan --verbose
135135
else
136-
bun buddy scan
136+
bunx buddy-bot scan
137137
fi
138138
else
139139
echo "🚀 Executing dashboard update:"

.github/workflows/buddy-update.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ permissions:
4646
statuses: read
4747

4848
jobs:
49-
test-dependency-updates:
49+
dependency-update:
5050
runs-on: ubuntu-latest
5151

5252
steps:
@@ -129,15 +129,15 @@ jobs:
129129
130130
if [ "$PACKAGES" != "" ]; then
131131
if [ "$VERBOSE" = "true" ]; then
132-
bun buddy scan --packages "$PACKAGES" --verbose
132+
bunx buddy-bot scan --packages "$PACKAGES" --verbose
133133
else
134-
bun buddy scan --packages "$PACKAGES"
134+
bunx buddy-bot scan --packages "$PACKAGES"
135135
fi
136136
else
137137
if [ "$VERBOSE" = "true" ]; then
138-
bun buddy scan --strategy "$STRATEGY" --verbose
138+
bunx buddy-bot scan --strategy "$STRATEGY" --verbose
139139
else
140-
bun buddy scan --strategy "$STRATEGY"
140+
bunx buddy-bot scan --strategy "$STRATEGY"
141141
fi
142142
fi
143143
@@ -159,15 +159,15 @@ jobs:
159159
160160
if [ "$PACKAGES" != "" ]; then
161161
if [ "$VERBOSE" = "true" ]; then
162-
bun buddy update --packages "$PACKAGES" --verbose
162+
bunx buddy-bot update --packages "$PACKAGES" --verbose
163163
else
164-
bun buddy update --packages "$PACKAGES"
164+
bunx buddy-bot update --packages "$PACKAGES"
165165
fi
166166
else
167167
if [ "$VERBOSE" = "true" ]; then
168-
bun buddy update --strategy "$STRATEGY" --verbose
168+
bunx buddy-bot update --strategy "$STRATEGY" --verbose
169169
else
170-
bun buddy update --strategy "$STRATEGY"
170+
bunx buddy-bot update --strategy "$STRATEGY"
171171
fi
172172
fi
173173

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ Choose from several carefully crafted presets with smart recommendations:
127127
**🔄 Step 8: Workflow Generation & Validation**
128128
- Generates three core GitHub Actions workflows:
129129
- `buddy-dashboard.yml` - Dependency Dashboard Management
130-
- `buddy-update-check.yml` - Auto-rebase PR checker
130+
- `buddy-check.yml` - Auto-rebase PR checker
131131
- `buddy-update.yml` - Scheduled dependency updates
132132
- **YAML validation** - Ensures generated workflows are syntactically correct
133133
- **Security best practices** - Validates token usage and permissions
@@ -455,7 +455,7 @@ buddy-bot update-check --verbose
455455
456456
### Automated Rebase Workflow
457457
458-
Buddy Bot includes a pre-built GitHub Actions workflow (`.github/workflows/buddy-update-check.yml`) that:
458+
Buddy Bot includes a pre-built GitHub Actions workflow (`.github/workflows/buddy-check.yml`) that:
459459
460460
- **🕐 Runs every minute**: Automatically checks for rebase requests
461461
- **🔍 Scans all PRs**: Finds Buddy Bot PRs with checked rebase boxes

bin/cli.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,7 @@ cli
330330
// Validate each generated workflow
331331
const workflowFiles = [
332332
{ name: 'buddy-dashboard.yml', content: '' },
333-
{ name: 'buddy-update-check.yml', content: '' },
333+
{ name: 'buddy-check.yml', content: '' },
334334
{ name: 'buddy-update.yml', content: '' },
335335
]
336336

docs/cli/setup.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ Generates three core workflows:
237237
- **Purpose**: Manages dependency dashboard issue
238238
- **Features**: Manual triggers, dry-run mode, verbose logging
239239

240-
#### 2. Update Check Workflow (`buddy-update-check.yml`)
240+
#### 2. Update Check Workflow (`buddy-check.yml`)
241241
- **Schedule**: Every 15 minutes
242242
- **Purpose**: Auto-rebase PRs with checked rebase boxes
243243
- **Features**: Automatic PR updates, conflict resolution
@@ -251,7 +251,7 @@ Generates three core workflows:
251251
```
252252
🔍 Validating Generated Workflows
253253
✅ buddy-dashboard.yml validated successfully
254-
✅ buddy-update-check.yml validated successfully
254+
✅ buddy-check.yml validated successfully
255255
✅ buddy-update.yml validated successfully
256256
```
257257

@@ -273,7 +273,7 @@ Generates three core workflows:
273273
🎉 Setup Complete!
274274
✅ Generated 3 core workflows in .github/workflows/:
275275
- buddy-dashboard.yml (Dependency Dashboard Management)
276-
- buddy-update-check.yml (Auto-rebase PR checker)
276+
- buddy-check.yml (Auto-rebase PR checker)
277277
- buddy-update.yml (Scheduled dependency updates)
278278
📁 Configuration file: buddy-bot.config.json
279279
```
@@ -354,7 +354,7 @@ on:
354354
355355
#### Update Workflow
356356
```yaml
357-
name: Standard Dependency Updates
357+
name: Buddy Update
358358

359359
on:
360360
schedule:

docs/features/dependency-dashboard.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ jobs:
158158
- uses: oven-sh/setup-bun@v2
159159
- run: bun install
160160
- name: Update Dashboard
161-
run: bun buddy-bot dashboard --pin
161+
run: bunx buddy-bot dashboard --pin
162162
env:
163163
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
164164
```

docs/features/rebase.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Every Buddy Bot pull request includes an interactive checkbox:
2525

2626
### 2. Automatic Detection
2727

28-
A GitHub Actions workflow (`.github/workflows/buddy-update-check.yml`) runs every minute and:
28+
A GitHub Actions workflow (`.github/workflows/buddy-check.yml`) runs every minute and:
2929

3030
1. Scans all open pull requests
3131
2. Identifies Buddy Bot PRs with checked rebase boxes

docs/intro.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ Choose from carefully crafted presets:
7979
**🔄 Step 6: Workflow Generation**
8080
Generates three core GitHub Actions workflows:
8181
- `buddy-dashboard.yml` - Dependency Dashboard Management
82-
- `buddy-update-check.yml` - Auto-rebase PR checker
82+
- `buddy-check.yml` - Auto-rebase PR checker
8383
- `buddy-update.yml` - Scheduled dependency updates
8484

8585
**🎯 Step 7: Final Instructions**

src/config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import type { BuddyBotConfig } from './types'
2-
import { loadConfig } from 'bunfig'
32
import process from 'node:process'
3+
import { loadConfig } from 'bunfig'
44

55
export const defaultConfig: BuddyBotConfig = {
66
verbose: true,

0 commit comments

Comments
 (0)