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: action.yml
+5-3Lines changed: 5 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -50,11 +50,10 @@ inputs:
50
50
description: 'Assistant output mode for CI visibility (none, stream)'
51
51
required: false
52
52
default: 'none'
53
-
skill:
54
-
description: 'Deprecated. Skill selection is now driven by workflow goal hints; this input is ignored.'
53
+
goal:
54
+
description: 'Explicit execution goal passed to holon solve --goal. Empty = solve defaults by target type and PR review signals.'
55
55
required: false
56
56
default: ''
57
-
deprecationMessage: 'Deprecated: skill is no longer passed to holon solve. Use workflow goal hints (workflow.json trigger.goal_hint) to influence behavior.'
58
57
role:
59
58
description: 'Role to assume (e.g. developer, reviewer)'
baseGoal=fmt.Sprintf("Use the github-review skill to review the PR %s. The skill will guide you through: (1) Collecting PR context, (2) Analyzing code changes for issues, and (3) Publishing structured review findings to GitHub.", ref.URL())
873
-
case"github-pr-fix", "":
874
-
baseGoal=fmt.Sprintf("Use the github-pr-fix skill to fix the PR %s. The skill will guide you through: (1) Analyzing review comments, (2) Implementing fixes, (3) Publishing replies to GitHub.", ref.URL())
875
-
default:
876
-
baseGoal=fmt.Sprintf("Use the %s skill to process the PR %s according to the skill instructions, and publish the expected results back to GitHub.", selectedSkill, ref.URL())
877
-
}
878
-
} else {
879
-
switchselectedSkill {
880
-
case"github-issue-solve", "":
881
-
baseGoal=fmt.Sprintf("Use the github-issue-solve skill to solve the GitHub issue %s end-to-end. Success requires all of the following: (1) Collect GitHub context, (2) Implement the solution, (3) Ensure ${GITHUB_OUTPUT_DIR}/manifest.json has status='completed' and outcome='success', and (4) After publish completes, ensure ${GITHUB_OUTPUT_DIR}/manifest.json contains pr_number and pr_url for the created PR. The runtime validates success based on the manifest contract (status/outcome), with summary.md treated as optional human-readable output.", ref.URL())
882
-
default:
883
-
baseGoal=fmt.Sprintf("Use the %s skill to solve the GitHub issue %s end-to-end following the skill instructions and publish the expected results to GitHub. Ensure ${GITHUB_OUTPUT_DIR}/manifest.json has status='completed' and outcome='success' for successful execution.", selectedSkill, ref.URL())
fmt.Fprintf(os.Stderr, "Warning: failed to inspect PR review signals, defaulting to review goal: %v\n", err)
852
+
intent="review"
884
853
}
854
+
855
+
returnbuildPRGoal(ref.URL(), intent), nil
856
+
}
857
+
858
+
returnbuildIssueGoal(ref.URL()), nil
859
+
}
860
+
861
+
funcbuildPRGoal(prURL, intentstring) string {
862
+
ifintent=="fix" {
863
+
returnfmt.Sprintf("Fix the PR %s by addressing outstanding review feedback and requested changes. Implement necessary code changes and publish replies to GitHub.", prURL)
864
+
}
865
+
returnfmt.Sprintf("Review the PR %s. Analyze code changes for correctness, security, and maintainability, then publish structured review findings to GitHub.", prURL)
866
+
}
867
+
868
+
funcbuildIssueGoal(issueURLstring) string {
869
+
returnfmt.Sprintf("Solve the GitHub issue %s end-to-end. Success requires all of the following: (1) Collect GitHub context, (2) Implement the solution, (3) Ensure ${GITHUB_OUTPUT_DIR}/manifest.json has status='completed' and outcome='success', and (4) After publish completes, ensure ${GITHUB_OUTPUT_DIR}/manifest.json contains pr_number and pr_url for the created PR. The runtime validates success based on the manifest contract (status/outcome), with summary.md treated as optional human-readable output.", issueURL)
0 commit comments