Skip to content

Commit a776ce2

Browse files
committed
chore: temporarily remove the pin option
because the github api doesnt allow for it
1 parent cf519f0 commit a776ce2

File tree

5 files changed

+7
-18
lines changed

5 files changed

+7
-18
lines changed

.github/workflows/buddy-bot.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -398,9 +398,10 @@ jobs:
398398
# Build the command
399399
COMMAND="bunx buddy-bot dashboard"
400400
401-
if [ "$PIN" = "true" ]; then
402-
COMMAND="$COMMAND --pin"
403-
fi
401+
# TODO: Uncomment this when we have a way to pin the dashboard
402+
# if [ "$PIN" = "true" ]; then
403+
# COMMAND="$COMMAND --pin"
404+
# fi
404405
405406
if [ "$TITLE" != "" ]; then
406407
COMMAND="$COMMAND --title \"$TITLE\""

README.md

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -186,9 +186,6 @@ buddy setup --non-interactive --preset testing --verbose
186186
buddy scan
187187
buddy scan --verbose
188188

189-
# Create or update dependency dashboard
190-
buddy dashboard --pin
191-
192189
# Check specific packages
193190
buddy scan --packages "react,typescript,@types/node"
194191

@@ -521,8 +518,8 @@ For the rebase functionality to update GitHub Actions workflow files, you need p
521518
# Create basic dashboard
522519
buddy-bot dashboard
523520
524-
# Create pinned dashboard with custom title
525-
buddy-bot dashboard --pin --title "My Dependencies"
521+
# Create dashboard with custom title
522+
buddy-bot dashboard --title "My Dependencies"
526523
```
527524
528525
### Automated Dashboard Updates

bin/cli.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,6 @@ Examples:
6767
buddy-bot setup # Interactive setup with migration
6868
buddy-bot setup --non-interactive # Automated setup for CI/CD
6969
buddy-bot scan --verbose # Scan for updates (npm + Composer)
70-
buddy-bot dashboard --pin # Create pinned dashboard
7170
buddy-bot rebase 17 # Rebase PR #17
7271
buddy-bot update-check # Auto-rebase checked PRs
7372
buddy-bot info laravel/framework # Get Composer package info
@@ -575,7 +574,6 @@ cli
575574
.option('--title <title>', 'Custom dashboard title')
576575
.option('--issue-number <number>', 'Update specific issue number')
577576
.example('buddy-bot dashboard')
578-
.example('buddy-bot dashboard --pin')
579577
.example('buddy-bot dashboard --title "My Dependencies"')
580578
.example('buddy-bot dashboard --issue-number 42')
581579
.action(async (options: CLIOptions & { pin?: boolean, title?: string, issueNumber?: string }) => {

docs/features/dependency-dashboard.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,6 @@ buddy-bot dashboard
2424
### With Options
2525

2626
```bash
27-
# Create a pinned dashboard (or pin existing one)
28-
buddy-bot dashboard --pin
29-
3027
# Use custom title
3128
buddy-bot dashboard --title "My Project Dependencies"
3229

@@ -157,7 +154,7 @@ jobs:
157154
- uses: oven-sh/setup-bun@v2
158155
- run: bun install
159156
- name: Update Dashboard
160-
run: bunx buddy-bot dashboard --pin
157+
run: bunx buddy-bot dashboard
161158
env:
162159
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
163160
```

src/setup.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1482,10 +1482,6 @@ ${generateComposerSetupSteps()}
14821482
# Build the command
14831483
COMMAND="bunx buddy-bot dashboard"
14841484
1485-
if [ "\$PIN" = "true" ]; then
1486-
COMMAND="\$COMMAND --pin"
1487-
fi
1488-
14891485
if [ "\$TITLE" != "" ]; then
14901486
COMMAND="\$COMMAND --title \\"\$TITLE\\""
14911487
fi

0 commit comments

Comments
 (0)