-
Notifications
You must be signed in to change notification settings - Fork 217
🔐 Validate PAT tokens and improve RunOptions #16169
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
8c4aa98
06b9ed0
3b6305f
2a8d94d
40cd1d2
3d335e8
4aa2d74
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -233,13 +233,14 @@ Test workflows in temporary private repositories (default) or run directly in sp | |
|
|
||
| ```bash wrap | ||
| gh aw trial githubnext/agentics/ci-doctor # Test remote workflow | ||
| gh aw trial ./workflow.md --use-local-secrets # Test with local API keys | ||
| gh aw trial ./workflow.md --logical-repo owner/repo # Act as different repo | ||
| gh aw trial ./workflow.md --repo owner/repo # Run directly in repository | ||
| gh aw trial ./workflow.md --dry-run # Preview without executing | ||
| ``` | ||
|
|
||
| **Options:** `-e`, `--engine`, `--auto-merge-prs`, `--repeat`, `--delete-host-repo-after`, `--use-local-secrets`, `--logical-repo`, `--clone-repo`, `--trigger-context`, `--repo`, `--dry-run` | ||
| **Options:** `-e`, `--engine`, `--auto-merge-prs`, `--repeat`, `--delete-host-repo-after`, `--logical-repo`, `--clone-repo`, `--trigger-context`, `--repo`, `--dry-run` | ||
|
|
||
| **Secret Handling:** API keys required for the selected engine are automatically checked. If missing from the target repository, they are prompted for interactively and uploaded. | ||
|
Comment on lines
+241
to
+243
|
||
|
|
||
| #### `run` | ||
|
|
||
|
|
@@ -249,12 +250,11 @@ Execute workflows immediately in GitHub Actions. Displays workflow URL for track | |
| gh aw run workflow # Run workflow | ||
| gh aw run workflow1 workflow2 # Run multiple workflows | ||
| gh aw run workflow --repeat 3 # Repeat 3 times | ||
| gh aw run workflow --use-local-secrets # Use local API keys | ||
| gh aw run workflow --push # Auto-commit, push, and dispatch workflow | ||
| gh aw run workflow --push --ref main # Push to specific branch | ||
| ``` | ||
|
|
||
| **Options:** `--repeat`, `--use-local-secrets`, `--push` (see [--push flag](#the---push-flag)), `--ref` | ||
| **Options:** `--repeat`, `--push` (see [--push flag](#the---push-flag)), `--ref`, `--auto-merge-prs`, `--enable-if-needed` | ||
|
|
||
| When `--push` is used, automatically recompiles outdated `.lock.yml` files, stages all transitive imports, and triggers workflow run after successful push. Without `--push`, warnings are displayed for missing or outdated lock files. | ||
|
|
||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The troubleshooting guidance says trials automatically prompt for missing secrets and upload them, but in code this only happens when an explicit engine override is provided. Update the doc to match behavior, or ensure secrets for the engine configured in workflow frontmatter/default even when
--engineis not used.