You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+5-1Lines changed: 5 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -63,6 +63,8 @@ export default defineConfig({
63
63
| `file_path` | Path to Rsdoctor JSON data file | Yes | - |
64
64
| `target_branch` | Target branch for baseline comparison | No | `main` |
65
65
66
+
> AI-assisted analysis reads `AI_TOKEN` from the action step environment. Store it as a GitHub Actions secret in repository settings, then pass it to the step with `AI_TOKEN: ${{ secrets.AI_TOKEN }}`.
67
+
66
68
- `target_branch`: If you want to use a dynamic target branch (e.g., the PR base branch instead of a fixed main), use:
Copy file name to clipboardExpand all lines: action.yml
+5-4Lines changed: 5 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
name: '@yifancong/bundle-action'
2
-
description: 'A simple demo for checking compressed size differences'
2
+
description: 'A simple demo for checking compressed size differences. Requires the AI_TOKEN secret for AI-assisted analysis.'
3
3
branding:
4
4
icon: 'archive'
5
5
color: 'purple'
@@ -21,10 +21,11 @@ inputs:
21
21
default: ''
22
22
type: string
23
23
ai_model:
24
-
description: 'AI model to use for degradation analysis (e.g. claude-3-5-haiku-latest, gpt-4o-mini). Provider is auto-detected from the model name prefix.'
24
+
description: 'AI model to use for degradation analysis (e.g. claude-3-5-haiku-latest, gpt-4o-mini). Provider is auto-detected from the model name prefix. Set AI_TOKEN as a GitHub Actions secret and pass it to the action step for AI-assisted analysis.'
0 commit comments