-
Notifications
You must be signed in to change notification settings - Fork 314
feat(compile): add --actions-repo flag to override external actions repository #22437
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
7130a7d
cf38b01
99e168a
6d04b63
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 | ||||
|---|---|---|---|---|---|---|
|
|
@@ -32,6 +32,7 @@ type CompileConfig struct { | |||||
| JSONOutput bool // Output validation results as JSON | ||||||
| ActionMode string // Action script inlining mode: inline, dev, or release | ||||||
| ActionTag string // Override action SHA or tag for actions/setup (overrides action-mode to release) | ||||||
|
||||||
| ActionTag string // Override action SHA or tag for actions/setup (overrides action-mode to release) | |
| ActionTag string // Override action SHA or tag for actions/setup (forces release mode unless action-mode is explicitly set to 'action') |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,16 @@ | ||
| --- | ||
| name: Test Actions Repo Override | ||
| on: | ||
| workflow_dispatch: | ||
| permissions: | ||
| contents: read | ||
| issues: read | ||
| engine: copilot | ||
| safe-outputs: | ||
| create-issue: | ||
| max: 1 | ||
| --- | ||
|
|
||
| # Test Actions Repo Override | ||
|
|
||
| When instructed, create an issue summarizing the repository state. |
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -81,6 +81,7 @@ type Compiler struct { | |||||
| markdownPath string // Path to the markdown file being compiled (for context in dynamic tool generation) | ||||||
| actionMode ActionMode // Mode for generating JavaScript steps (inline vs custom actions) | ||||||
| actionTag string // Override action SHA or tag for actions/setup (when set, overrides actionMode to release) | ||||||
|
||||||
| actionTag string // Override action SHA or tag for actions/setup (when set, overrides actionMode to release) | |
| actionTag string // Override action SHA or tag for actions/setup; pins the version and only forces release when actionMode is not explicitly set to action |
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 --action-tag flag help text says it always overrides --action-mode to release, but setupActionMode now keeps action mode when the user explicitly sets --action-mode action. Please update this help text (and any related docs/comments) to reflect the new precedence so the CLI help matches actual behavior.
This issue also appears in the following locations of the same file: