Daily File Diet #25
daily-file-diet.lock.yml
on: schedule
Annotations
1 error and 9 warnings
|
detection
Unable to download artifact(s): Artifact not found for name: aw.patch
Please ensure that your artifact is not expired and the artifact was uploaded using a compatible version of toolkit/upload-artifact.
For more information, visit the GitHub Artifacts FAQ: https://github.com/actions/toolkit/blob/main/packages/artifact/docs/faq.md
|
|
agent
Line 5521: codex_protocol::models: Blocks: [TextContent(TextContent { annotations: None, text: "{\"result\":\"success\"}", type: "text" })] (Pattern: Codex warning messages with timestamp, Raw log: 2025-12-11T13:24:50.571626Z WARN codex_protocol::models: Blocks: [TextContent(TextContent { annotations: None, text: "{...)
|
|
agent
Line 5546: No action path found for script %s, falling back to inline mode\", scriptName)\n\t\treturn c.buildGitHubScriptStep(data, config)\n\t}\n\n\t// Resolve the action reference based on mode\n\tactionRef := c.resolveActionReference(actionPath, data)\n\tif actionRef == \"\" {\n\t\tsafeOutputsLog.Printf(\"WARNING: Could not resolve action reference for %s, falling back to inline mode\", actionPath)\n\t\treturn c.buildGitHubScriptStep(data, config)\n\t}\n\n\t// Add artifact download steps before the custom action step\n\tsteps = append(steps, buildAgentOutputDownloadSteps()...)\n\n\t// Step name and metadata\n\tsteps = append(steps, fmt.Sprintf(\" - name: %s\\n\", config.StepName))\n\tsteps = append(steps, fmt.Sprintf(\" id: %s\\n\", config.StepID))\n\tsteps = append(steps, fmt.Sprintf(\" uses: %s\\n\", actionRef))\n\n\t// Environment variables section\n\tsteps = append(steps, \" env:\\n\")\n\tsteps = append(steps, \" GH_AW_AGENT_OUTPUT: ${{ env.GH_AW_AGENT_OUTPUT }}\\n\")\n\tsteps = append(steps, config.CustomEnvVars...)\n\tc.addCustomSafeOutputEnvVars(&steps, data)\n\n\t// With section for inputs (replaces github-token in actions/github-script)\n\tsteps = append(steps, \" with:\\n\")\n\n\t// Map github-token to token input for custom actions\n\tif config.UseAgentToken {\n\t\tc.addCustomActionAgentGitHubToken(&steps, data, config.Token)\n\t} else if config.UseCopilotToken {\n\t\tc.addCustomActionCopilotGitHubToken(&steps, data, config.Token)\n\t} else {\n\t\tc.addCustomActionGitHubToken(&steps, data, config.Token)\n\t}\n\n\treturn steps\n}\n\n// Helper functions to add GitHub token as action input instead of github-script parameter\nfunc (c *Compiler) addCustomActionGitHubToken(steps *[]string, data *WorkflowData, customToken string) {\n\ttoken := customToken\n\tif token == \"\" && data.SafeOutputs != nil {\n\t\ttoken = data.SafeOutputs.GitHubToken\n\t}\n\tif token == \"\" {\n\t\ttoken = data.GitHubToken\n\t}\n\tif token == \"\" {\n\t\ttoken = \"${{ secrets.GITHUB_TOKEN }}\"\n\t}\n\t*steps = append(*steps, fmt.Sprintf(\" token: %s\\n\", token))\n}\n\nfunc (c *Compiler) addCustomActionCopilotGitHubToken(steps *[]string, data *WorkflowData, customToken string) {\n\ttoken := customToken\n\tif token == \"\" && data.SafeOutputs != nil {\n\t\ttoken = data.SafeOutputs.GitHubToken\n\t}\n\tif token == \"\" {\n\t\ttoken = \"${{ secrets.COPILOT_TOKEN || secrets.GITHUB_TOKEN }}\"\n\t}\n\t*steps = append(*steps, fmt.Sprintf(\" token: %s\\n\", token))\n}\n\nfunc (c *Compiler) addCustomActionAgentGitHubToken(steps *[]string, data *WorkflowData, customToken string) {\n\ttoken := customToken\n\tif token == \"\" {\n\t\ttoken = \"${{ env.GH_AW_AGENT_TOKEN }}\"\n\t}\n\t*steps = append(*steps, fmt.Sprintf(\" token: %s\\n\", token))\n}\n\n// HasSafeOutputsEnabled checks if any safe-outputs are enabled\nfunc HasSafeOutputsEnabled(safeOutputs *SafeOutputsConfig) bool {\n\tif safeOutputs == nil {\n\t\treturn false\n\t}\n\tenabled := safeOutputs.CreateIssues != nil ||\n\t\tsafeOutputs.CreateAgentTasks != nil ||\n\t\tsafeOutputs.CreateDiscussions != nil ||\n\t\tsafeOutputs.CloseDiscussions != nil ||\n\t\tsafeOutputs.CloseIssues != nil ||\n\t\tsafeOutputs.AddComments != nil ||\n\t\tsafeOutputs.CreatePullRequests != nil ||\n\t\tsafeOutputs.CreatePullRequestReviewComments != nil ||\n\t\tsafeOutputs.CreateCodeScanningAlerts != nil ||\n\t\tsafeOutputs.AddLabels != nil ||\n\t\tsafeOutputs.AddReviewer != nil ||\n\t\tsafeOutputs.AssignMilestone != nil ||\n\t\tsafeOutputs.AssignToAgent != nil ||\n\t\tsafeOutputs.AssignToUser != nil ||\n\t\tsafeOutputs.UpdateIssues != nil ||\n\t\tsafeOutputs.UpdatePullRequests != nil ||\n\t\tsafeOutputs.PushToPullRequestBranch != nil ||\n\t\tsafeOutputs.UploadAssets != nil ||\n\t\tsafeOutputs.MissingTool != nil ||\n\t\tsafeOutputs.NoOp != nil ||\n\t\tsafeOutputs.LinkSubIssue != nil ||\n\t\tsafeOutputs.HideComment != nil ||\n\t\tlen(safeOutputs.Jobs) > 0\n\n\tif safeOutputsLog.Enabled() {\n\t\tsafeOutputsLog.Printf(\"Safe outputs enabled check: %v\", ena
|
|
agent
Line 4005: No action path found for script %s, falling back to inline mode\", scriptName)\n\t\treturn c.buildGitHubScriptStep(data, config)\n\t}\n\n\t// Resolve the action reference based on mode\n\tactionRef := c.resolveActionReference(actionPath, data)\n\tif actionRef == \"\" {\n\t\tsafeOutputsLog.Printf(\"WARNING: Could not resolve action reference for %s, falling back to inline mode\", actionPath)\n\t\treturn c.buildGitHubScriptStep(data, config)\n\t}\n\n\t// Add artifact download steps before the custom action step\n\tsteps = append(steps, buildAgentOutputDownloadSteps()...)\n\n\t// Step name and metadata\n\tsteps = append(steps, fmt.Sprintf(\" - name: %s\\n\", config.StepName))\n\tsteps = append(steps, fmt.Sprintf(\" id: %s\\n\", config.StepID))\n\tsteps = append(steps, fmt.Sprintf(\" uses: %s\\n\", actionRef))\n\n\t// Environment variables section\n\tsteps = append(steps, \" env:\\n\")\n\tsteps = append(steps, \" GH_AW_AGENT_OUTPUT: ${{ env.GH_AW_AGENT_OUTPUT }}\\n\")\n\tsteps = append(steps, config.CustomEnvVars...)\n\tc.addCustomSafeOutputEnvVars(&steps, data)\n\n\t// With section for inputs (replaces github-token in actions/github-script)\n\tsteps = append(steps, \" with:\\n\")\n\n\t// Map github-token to token input for custom actions\n\tif config.UseAgentToken {\n\t\tc.addCustomActionAgentGitHubToken(&steps, data, config.Token)\n\t} else if config.UseCopilotToken {\n\t\tc.addCustomActionCopilotGitHubToken(&steps, data, config.Token)\n\t} else {\n\t\tc.addCustomActionGitHubToken(&steps, data, config.Token)\n\t}\n\n\treturn steps\n}\n\n// Helper functions to add GitHub token as action input instead of github-script parameter\nfunc (c *Compiler) addCustomActionGitHubToken(steps *[]string, data *WorkflowData, customToken string) {\n\ttoken := customToken\n\tif token == \"\" && data.SafeOutputs != nil {\n\t\ttoken = data.SafeOutputs.GitHubToken\n\t}\n\tif token == \"\" {\n\t\ttoken = data.GitHubToken\n\t}\n\tif token == \"\" {\n\t\ttoken = \"${{ secrets.GITHUB_TOKEN }}\"\n\t}\n\t*steps = append(*steps, fmt.Sprintf(\" token: %s\\n\", token))\n}\n\nfunc (c *Compiler) addCustomActionCopilotGitHubToken(steps *[]string, data *WorkflowData, customToken string) {\n\ttoken := customToken\n\tif token == \"\" && data.SafeOutputs != nil {\n\t\ttoken = data.SafeOutputs.GitHubToken\n\t}\n\tif token == \"\" {\n\t\ttoken = \"${{ secrets.COPILOT_TOKEN || secrets.GITHUB_TOKEN }}\"\n\t}\n\t*steps = append(*steps, fmt.Sprintf(\" token: %s\\n\", token))\n}\n\nfunc (c *Compiler) addCustomActionAgentGitHubToken(steps *[]string, data *WorkflowData, customToken string) {\n\ttoken := customToken\n\tif token == \"\" {\n\t\ttoken = \"${{ env.GH_AW_AGENT_TOKEN }}\"\n\t}\n\t*steps = append(*steps, fmt.Sprintf(\" token: %s\\n\", token))\n}\n\n// HasSafeOutputsEnabled checks if any safe-outputs are enabled\nfunc HasSafeOutputsEnabled(safeOutputs *SafeOutputsConfig) bool {\n\tif safeOutputs == nil {\n\t\treturn false\n\t}\n\tenabled := safeOutputs.CreateIssues != nil ||\n\t\tsafeOutputs.CreateAgentTasks != nil ||\n\t\tsafeOutputs.CreateDiscussions != nil ||\n\t\tsafeOutputs.CloseDiscussions != nil ||\n\t\tsafeOutputs.CloseIssues != nil ||\n\t\tsafeOutputs.AddComments != nil ||\n\t\tsafeOutputs.CreatePullRequests != nil ||\n\t\tsafeOutputs.CreatePullRequestReviewComments != nil ||\n\t\tsafeOutputs.CreateCodeScanningAlerts != nil ||\n\t\tsafeOutputs.AddLabels != nil ||\n\t\tsafeOutputs.AddReviewer != nil ||\n\t\tsafeOutputs.AssignMilestone != nil ||\n\t\tsafeOutputs.AssignToAgent != nil ||\n\t\tsafeOutputs.AssignToUser != nil ||\n\t\tsafeOutputs.UpdateIssues != nil ||\n\t\tsafeOutputs.UpdatePullRequests != nil ||\n\t\tsafeOutputs.PushToPullRequestBranch != nil ||\n\t\tsafeOutputs.UploadAssets != nil ||\n\t\tsafeOutputs.MissingTool != nil ||\n\t\tsafeOutputs.NoOp != nil ||\n\t\tsafeOutputs.LinkSubIssue != nil ||\n\t\tsafeOutputs.HideComment != nil ||\n\t\tlen(safeOutputs.Jobs) > 0\n\n\tif safeOutputsLog.Enabled() {\n\t\tsafeOutputsLog.Printf(\"Safe outputs enabled check: %v\", ena
|
|
agent
Line 3840: No action path found for script %s, falling back to inline mode\", scriptName)\n\t\treturn c.buildGitHubScriptStep(data, config)\n\t}\n\n\t// Resolve the action reference based on mode\n\tactionRef := c.resolveActionReference(actionPath, data)\n\tif actionRef == \"\" {\n\t\tsafeOutputsLog.Printf(\"WARNING: Could not resolve action reference for %s, falling back to inline mode\", actionPath)\n\t\treturn c.buildGitHubScriptStep(data, config)\n\t}\n\n\t// Add artifact download steps before the custom action step\n\tsteps = append(steps, buildAgentOutputDownloadSteps()...)\n\n\t// Step name and metadata\n\tsteps = append(steps, fmt.Sprintf(\" - name: %s\\n\", config.StepName))\n\tsteps = append(steps, fmt.Sprintf(\" id: %s\\n\", config.StepID))\n\tsteps = append(steps, fmt.Sprintf(\" uses: %s\\n\", actionRef))\n\n\t// Environment variables section\n\tsteps = append(steps, \" env:\\n\")\n\tsteps = append(steps, \" GH_AW_AGENT_OUTPUT: ${{ env.GH_AW_AGENT_OUTPUT }}\\n\")\n\tsteps = append(steps, config.CustomEnvVars...)\n\tc.addCustomSafeOutputEnvVars(&steps, data)\n\n\t// With section for inputs (replaces github-token in actions/github-script)\n\tsteps = append(steps, \" with:\\n\")\n\n\t// Map github-token to token input for custom actions\n\tif config.UseAgentToken {\n\t\tc.addCustomActionAgentGitHubToken(&steps, data, config.Token)\n\t} else if config.UseCopilotToken {\n\t\tc.addCustomActionCopilotGitHubToken(&steps, data, config.Token)\n\t} else {\n\t\tc.addCustomActionGitHubToken(&steps, data, config.Token)\n\t}\n\n\treturn steps\n}\n\n// Helper functions to add GitHub token as action input instead of github-script parameter\nfunc (c *Compiler) addCustomActionGitHubToken(steps *[]string, data *WorkflowData, customToken string) {\n\ttoken := customToken\n\tif token == \"\" && data.SafeOutputs != nil {\n\t\ttoken = data.SafeOutputs.GitHubToken\n\t}\n\tif token == \"\" {\n\t\ttoken = data.GitHubToken\n\t}\n\tif token == \"\" {\n\t\ttoken = \"${{ secrets.GITHUB_TOKEN }}\"\n\t}\n\t*steps = append(*steps, fmt.Sprintf(\" token: %s\\n\", token))\n}\n\nfunc (c *Compiler) addCustomActionCopilotGitHubToken(steps *[]string, data *WorkflowData, customToken string) {\n\ttoken := customToken\n\tif token == \"\" && data.SafeOutputs != nil {\n\t\ttoken = data.SafeOutputs.GitHubToken\n\t}\n\tif token == \"\" {\n\t\ttoken = \"${{ secrets.COPILOT_TOKEN || secrets.GITHUB_TOKEN }}\"\n\t}\n\t*steps = append(*steps, fmt.Sprintf(\" token: %s\\n\", token))\n}\n\nfunc (c *Compiler) addCustomActionAgentGitHubToken(steps *[]string, data *WorkflowData, customToken string) {\n\ttoken := customToken\n\tif token == \"\" {\n\t\ttoken = \"${{ env.GH_AW_AGENT_TOKEN }}\"\n\t}\n\t*steps = append(*steps, fmt.Sprintf(\" token: %s\\n\", token))\n}\n\n// HasSafeOutputsEnabled checks if any safe-outputs are enabled\nfunc HasSafeOutputsEnabled(safeOutputs *SafeOutputsConfig) bool {\n\tif safeOutputs == nil {\n\t\treturn false\n\t}\n\tenabled := safeOutputs.CreateIssues != nil ||\n\t\tsafeOutputs.CreateAgentTasks != nil ||\n\t\tsafeOutputs.CreateDiscussions != nil ||\n\t\tsafeOutputs.CloseDiscussions != nil ||\n\t\tsafeOutputs.CloseIssues != nil ||\n\t\tsafeOutputs.AddComments != nil ||\n\t\tsafeOutputs.CreatePullRequests != nil ||\n\t\tsafeOutputs.CreatePullRequestReviewComments != nil ||\n\t\tsafeOutputs.CreateCodeScanningAlerts != nil ||\n\t\tsafeOutputs.AddLabels != nil ||\n\t\tsafeOutputs.AddReviewer != nil ||\n\t\tsafeOutputs.AssignMilestone != nil ||\n\t\tsafeOutputs.AssignToAgent != nil ||\n\t\tsafeOutputs.AssignToUser != nil ||\n\t\tsafeOutputs.UpdateIssues != nil ||\n\t\tsafeOutputs.UpdatePullRequests != nil ||\n\t\tsafeOutputs.PushToPullRequestBranch != nil ||\n\t\tsafeOutputs.UploadAssets != nil ||\n\t\tsafeOutputs.MissingTool != nil ||\n\t\tsafeOutputs.NoOp != nil ||\n\t\tsafeOutputs.LinkSubIssue != nil ||\n\t\tsafeOutputs.HideComment != nil ||\n\t\tlen(safeOutputs.Jobs) > 0\n\n\tif safeOutputsLog.Enabled() {\n\t\tsafeOutputsLog.Printf(\"Safe outputs enabled check: %v\", ena
|
|
agent
Line 3599: No action path found for script %s, falling back to inline mode\", scriptName)\n\t\treturn c.buildGitHubScriptStep(data, config)\n\t}\n\n\t// Resolve the action reference based on mode\n\tactionRef := c.resolveActionReference(actionPath, data)\n\tif actionRef == \"\" {\n\t\tsafeOutputsLog.Printf(\"WARNING: Could not resolve action reference for %s, falling back to inline mode\", actionPath)\n\t\treturn c.buildGitHubScriptStep(data, config)\n\t}\n\n\t// Add artifact download steps before the custom action step\n\tsteps = append(steps, buildAgentOutputDownloadSteps()...)\n\n\t// Step name and metadata\n\tsteps = append(steps, fmt.Sprintf(\" - name: %s\\n\", config.StepName))\n\tsteps = append(steps, fmt.Sprintf(\" id: %s\\n\", config.StepID))\n\tsteps = append(steps, fmt.Sprintf(\" uses: %s\\n\", actionRef))\n\n\t// Environment variables section\n\tsteps = append(steps, \" env:\\n\")\n\tsteps = append(steps, \" GH_AW_AGENT_OUTPUT: ${{ env.GH_AW_AGENT_OUTPUT }}\\n\")\n\tsteps = append(steps, config.CustomEnvVars...)\n\tc.addCustomSafeOutputEnvVars(&steps, data)\n\n\t// With section for inputs (replaces github-token in actions/github-script)\n\tsteps = append(steps, \" with:\\n\")\n\n\t// Map github-token to token input for custom actions\n\tif config.UseAgentToken {\n\t\tc.addCustomActionAgentGitHubToken(&steps, data, config.Token)\n\t} else if config.UseCopilotToken {\n\t\tc.addCustomActionCopilotGitHubToken(&steps, data, config.Token)\n\t} else {\n\t\tc.addCustomActionGitHubToken(&steps, data, config.Token)\n\t}\n\n\treturn steps\n}\n\n// Helper functions to add GitHub token as action input instead of github-script parameter\nfunc (c *Compiler) addCustomActionGitHubToken(steps *[]string, data *WorkflowData, customToken string) {\n\ttoken := customToken\n\tif token == \"\" && data.SafeOutputs != nil {\n\t\ttoken = data.SafeOutputs.GitHubToken\n\t}\n\tif token == \"\" {\n\t\ttoken = data.GitHubToken\n\t}\n\tif token == \"\" {\n\t\ttoken = \"${{ secrets.GITHUB_TOKEN }}\"\n\t}\n\t*steps = append(*steps, fmt.Sprintf(\" token: %s\\n\", token))\n}\n\nfunc (c *Compiler) addCustomActionCopilotGitHubToken(steps *[]string, data *WorkflowData, customToken string) {\n\ttoken := customToken\n\tif token == \"\" && data.SafeOutputs != nil {\n\t\ttoken = data.SafeOutputs.GitHubToken\n\t}\n\tif token == \"\" {\n\t\ttoken = \"${{ secrets.COPILOT_TOKEN || secrets.GITHUB_TOKEN }}\"\n\t}\n\t*steps = append(*steps, fmt.Sprintf(\" token: %s\\n\", token))\n}\n\nfunc (c *Compiler) addCustomActionAgentGitHubToken(steps *[]string, data *WorkflowData, customToken string) {\n\ttoken := customToken\n\tif token == \"\" {\n\t\ttoken = \"${{ env.GH_AW_AGENT_TOKEN }}\"\n\t}\n\t*steps = append(*steps, fmt.Sprintf(\" token: %s\\n\", token))\n}\n\n// HasSafeOutputsEnabled checks if any safe-outputs are enabled\nfunc HasSafeOutputsEnabled(safeOutputs *SafeOutputsConfig) bool {\n\tif safeOutputs == nil {\n\t\treturn false\n\t}\n\tenabled := safeOutputs.CreateIssues != nil ||\n\t\tsafeOutputs.CreateAgentTasks != nil ||\n\t\tsafeOutputs.CreateDiscussions != nil ||\n\t\tsafeOutputs.CloseDiscussions != nil ||\n\t\tsafeOutputs.CloseIssues != nil ||\n\t\tsafeOutputs.AddComments != nil ||\n\t\tsafeOutputs.CreatePullRequests != nil ||\n\t\tsafeOutputs.CreatePullRequestReviewComments != nil ||\n\t\tsafeOutputs.CreateCodeScanningAlerts != nil ||\n\t\tsafeOutputs.AddLabels != nil ||\n\t\tsafeOutputs.AddReviewer != nil ||\n\t\tsafeOutputs.AssignMilestone != nil ||\n\t\tsafeOutputs.AssignToAgent != nil ||\n\t\tsafeOutputs.AssignToUser != nil ||\n\t\tsafeOutputs.UpdateIssues != nil ||\n\t\tsafeOutputs.UpdatePullRequests != nil ||\n\t\tsafeOutputs.PushToPullRequestBranch != nil ||\n\t\tsafeOutputs.UploadAssets != nil ||\n\t\tsafeOutputs.MissingTool != nil ||\n\t\tsafeOutputs.NoOp != nil ||\n\t\tsafeOutputs.LinkSubIssue != nil ||\n\t\tsafeOutputs.HideComment != nil ||\n\t\tlen(safeOutputs.Jobs) > 0\n\n\tif safeOutputsLog.Enabled() {\n\t\tsafeOutputsLog.Printf(\"Safe outputs enabled check: %v\", ena
|
|
agent
Line 3327: No action path found for script %s, falling back to inline mode\", scriptName)\n\t\treturn c.buildGitHubScriptStep(data, config)\n\t}\n\n\t// Resolve the action reference based on mode\n\tactionRef := c.resolveActionReference(actionPath, data)\n\tif actionRef == \"\" {\n\t\tsafeOutputsLog.Printf(\"WARNING: Could not resolve action reference for %s, falling back to inline mode\", actionPath)\n\t\treturn c.buildGitHubScriptStep(data, config)\n\t}\n\n\t// Add artifact download steps before the custom action step\n\tsteps = append(steps, buildAgentOutputDownloadSteps()...)\n\n\t// Step name and metadata\n\tsteps = append(steps, fmt.Sprintf(\" - name: %s\\n\", config.StepName))\n\tsteps = append(steps, fmt.Sprintf(\" id: %s\\n\", config.StepID))\n\tsteps = append(steps, fmt.Sprintf(\" uses: %s\\n\", actionRef))\n\n\t// Environment variables section\n\tsteps = append(steps, \" env:\\n\")\n\tsteps = append(steps, \" GH_AW_AGENT_OUTPUT: ${{ env.GH_AW_AGENT_OUTPUT }}\\n\")\n\tsteps = append(steps, config.CustomEnvVars...)\n\tc.addCustomSafeOutputEnvVars(&steps, data)\n\n\t// With section for inputs (replaces github-token in actions/github-script)\n\tsteps = append(steps, \" with:\\n\")\n\n\t// Map github-token to token input for custom actions\n\tif config.UseAgentToken {\n\t\tc.addCustomActionAgentGitHubToken(&steps, data, config.Token)\n\t} else if config.UseCopilotToken {\n\t\tc.addCustomActionCopilotGitHubToken(&steps, data, config.Token)\n\t} else {\n\t\tc.addCustomActionGitHubToken(&steps, data, config.Token)\n\t}\n\n\treturn steps\n}\n\n// Helper functions to add GitHub token as action input instead of github-script parameter\nfunc (c *Compiler) addCustomActionGitHubToken(steps *[]string, data *WorkflowData, customToken string) {\n\ttoken := customToken\n\tif token == \"\" && data.SafeOutputs != nil {\n\t\ttoken = data.SafeOutputs.GitHubToken\n\t}\n\tif token == \"\" {\n\t\ttoken = data.GitHubToken\n\t}\n\tif token == \"\" {\n\t\ttoken = \"${{ secrets.GITHUB_TOKEN }}\"\n\t}\n\t*steps = append(*steps, fmt.Sprintf(\" token: %s\\n\", token))\n}\n\nfunc (c *Compiler) addCustomActionCopilotGitHubToken(steps *[]string, data *WorkflowData, customToken string) {\n\ttoken := customToken\n\tif token == \"\" && data.SafeOutputs != nil {\n\t\ttoken = data.SafeOutputs.GitHubToken\n\t}\n\tif token == \"\" {\n\t\ttoken = \"${{ secrets.COPILOT_TOKEN || secrets.GITHUB_TOKEN }}\"\n\t}\n\t*steps = append(*steps, fmt.Sprintf(\" token: %s\\n\", token))\n}\n\nfunc (c *Compiler) addCustomActionAgentGitHubToken(steps *[]string, data *WorkflowData, customToken string) {\n\ttoken := customToken\n\tif token == \"\" {\n\t\ttoken = \"${{ env.GH_AW_AGENT_TOKEN }}\"\n\t}\n\t*steps = append(*steps, fmt.Sprintf(\" token: %s\\n\", token))\n}\n\n// HasSafeOutputsEnabled checks if any safe-outputs are enabled\nfunc HasSafeOutputsEnabled(safeOutputs *SafeOutputsConfig) bool {\n\tif safeOutputs == nil {\n\t\treturn false\n\t}\n\tenabled := safeOutputs.CreateIssues != nil ||\n\t\tsafeOutputs.CreateAgentTasks != nil ||\n\t\tsafeOutputs.CreateDiscussions != nil ||\n\t\tsafeOutputs.CloseDiscussions != nil ||\n\t\tsafeOutputs.CloseIssues != nil ||\n\t\tsafeOutputs.AddComments != nil ||\n\t\tsafeOutputs.CreatePullRequests != nil ||\n\t\tsafeOutputs.CreatePullRequestReviewComments != nil ||\n\t\tsafeOutputs.CreateCodeScanningAlerts != nil ||\n\t\tsafeOutputs.AddLabels != nil ||\n\t\tsafeOutputs.AddReviewer != nil ||\n\t\tsafeOutputs.AssignMilestone != nil ||\n\t\tsafeOutputs.AssignToAgent != nil ||\n\t\tsafeOutputs.AssignToUser != nil ||\n\t\tsafeOutputs.UpdateIssues != nil ||\n\t\tsafeOutputs.UpdatePullRequests != nil ||\n\t\tsafeOutputs.PushToPullRequestBranch != nil ||\n\t\tsafeOutputs.UploadAssets != nil ||\n\t\tsafeOutputs.MissingTool != nil ||\n\t\tsafeOutputs.NoOp != nil ||\n\t\tsafeOutputs.LinkSubIssue != nil ||\n\t\tsafeOutputs.HideComment != nil ||\n\t\tlen(safeOutputs.Jobs) > 0\n\n\tif safeOutputsLog.Enabled() {\n\t\tsafeOutputsLog.Printf(\"Safe outputs enabled check: %v\", ena
|
|
agent
Line 3325: No action path found for script %s, falling back to inline mode\", scriptName)\n\t\treturn c.buildGitHubScriptStep(data, config)\n\t}\n\n\t// Resolve the action reference based on mode\n\tactionRef := c.resolveActionReference(actionPath, data)\n\tif actionRef == \"\" {\n\t\tsafeOutputsLog.Printf(\"WARNING: Could not resolve action reference for %s, falling back to inline mode\", actionPath)\n\t\treturn c.buildGitHubScriptStep(data, config)\n\t}\n\n\t// Add artifact download steps before the custom action step\n\tsteps = append(steps, buildAgentOutputDownloadSteps()...)\n\n\t// Step name and metadata\n\tsteps = append(steps, fmt.Sprintf(\" - name: %s\\n\", config.StepName))\n\tsteps = append(steps, fmt.Sprintf(\" id: %s\\n\", config.StepID))\n\tsteps = append(steps, fmt.Sprintf(\" uses: %s\\n\", actionRef))\n\n\t// Environment variables section\n\tsteps = append(steps, \" env:\\n\")\n\tsteps = append(steps, \" GH_AW_AGENT_OUTPUT: ${{ env.GH_AW_AGENT_OUTPUT }}\\n\")\n\tsteps = append(steps, config.CustomEnvVars...)\n\tc.addCustomSafeOutputEnvVars(&steps, data)\n\n\t// With section for inputs (replaces github-token in actions/github-script)\n\tsteps = append(steps, \" with:\\n\")\n\n\t// Map github-token to token input for custom actions\n\tif config.UseAgentToken {\n\t\tc.addCustomActionAgentGitHubToken(&steps, data, config.Token)\n\t} else if config.UseCopilotToken {\n\t\tc.addCustomActionCopilotGitHubToken(&steps, data, config.Token)\n\t} else {\n\t\tc.addCustomActionGitHubToken(&steps, data, config.Token)\n\t}\n\n\treturn steps\n}\n\n// Helper functions to add GitHub token as action input instead of github-script parameter\nfunc (c *Compiler) addCustomActionGitHubToken(steps *[]string, data *WorkflowData, customToken string) {\n\ttoken := customToken\n\tif token == \"\" && data.SafeOutputs != nil {\n\t\ttoken = data.SafeOutputs.GitHubToken\n\t}\n\tif token == \"\" {\n\t\ttoken = data.GitHubToken\n\t}\n\tif token == \"\" {\n\t\ttoken = \"${{ secrets.GITHUB_TOKEN }}\"\n\t}\n\t*steps = append(*steps, fmt.Sprintf(\" token: %s\\n\", token))\n}\n\nfunc (c *Compiler) addCustomActionCopilotGitHubToken(steps *[]string, data *WorkflowData, customToken string) {\n\ttoken := customToken\n\tif token == \"\" && data.SafeOutputs != nil {\n\t\ttoken = data.SafeOutputs.GitHubToken\n\t}\n\tif token == \"\" {\n\t\ttoken = \"${{ secrets.COPILOT_TOKEN || secrets.GITHUB_TOKEN }}\"\n\t}\n\t*steps = append(*steps, fmt.Sprintf(\" token: %s\\n\", token))\n}\n\nfunc (c *Compiler) addCustomActionAgentGitHubToken(steps *[]string, data *WorkflowData, customToken string) {\n\ttoken := customToken\n\tif token == \"\" {\n\t\ttoken = \"${{ env.GH_AW_AGENT_TOKEN }}\"\n\t}\n\t*steps = append(*steps, fmt.Sprintf(\" token: %s\\n\", token))\n}\n\n// HasSafeOutputsEnabled checks if any safe-outputs are enabled\nfunc HasSafeOutputsEnabled(safeOutputs *SafeOutputsConfig) bool {\n\tif safeOutputs == nil {\n\t\treturn false\n\t}\n\tenabled := safeOutputs.CreateIssues != nil ||\n\t\tsafeOutputs.CreateAgentTasks != nil ||\n\t\tsafeOutputs.CreateDiscussions != nil ||\n\t\tsafeOutputs.CloseDiscussions != nil ||\n\t\tsafeOutputs.CloseIssues != nil ||\n\t\tsafeOutputs.AddComments != nil ||\n\t\tsafeOutputs.CreatePullRequests != nil ||\n\t\tsafeOutputs.CreatePullRequestReviewComments != nil ||\n\t\tsafeOutputs.CreateCodeScanningAlerts != nil ||\n\t\tsafeOutputs.AddLabels != nil ||\n\t\tsafeOutputs.AddReviewer != nil ||\n\t\tsafeOutputs.AssignMilestone != nil ||\n\t\tsafeOutputs.AssignToAgent != nil ||\n\t\tsafeOutputs.AssignToUser != nil ||\n\t\tsafeOutputs.UpdateIssues != nil ||\n\t\tsafeOutputs.UpdatePullRequests != nil ||\n\t\tsafeOutputs.PushToPullRequestBranch != nil ||\n\t\tsafeOutputs.UploadAssets != nil ||\n\t\tsafeOutputs.MissingTool != nil ||\n\t\tsafeOutputs.NoOp != nil ||\n\t\tsafeOutputs.LinkSubIssue != nil ||\n\t\tsafeOutputs.HideComment != nil ||\n\t\tlen(safeOutputs.Jobs) > 0\n\n\tif safeOutputsLog.Enabled() {\n\t\tsafeOutputsLog.Printf(\"Safe outputs enabled check: %v\", ena
|
|
agent
Line 3312: No action path found for script %s, falling back to inline mode\", scriptName)\n\t\treturn c.buildGitHubScriptStep(data, config)\n\t}\n\n\t// Resolve the action reference based on mode\n\tactionRef := c.resolveActionReference(actionPath, data)\n\tif actionRef == \"\" {\n\t\tsafeOutputsLog.Printf(\"WARNING: Could not resolve action reference for %s, falling back to inline mode\", actionPath)\n\t\treturn c.buildGitHubScriptStep(data, config)\n\t}\n\n\t// Add artifact download steps before the custom action step\n\tsteps = append(steps, buildAgentOutputDownloadSteps()...)\n\n\t// Step name and metadata\n\tsteps = append(steps, fmt.Sprintf(\" - name: %s\\n\", config.StepName))\n\tsteps = append(steps, fmt.Sprintf(\" id: %s\\n\", config.StepID))\n\tsteps = append(steps, fmt.Sprintf(\" uses: %s\\n\", actionRef))\n\n\t// Environment variables section\n\tsteps = append(steps, \" env:\\n\")\n\tsteps = append(steps, \" GH_AW_AGENT_OUTPUT: ${{ env.GH_AW_AGENT_OUTPUT }}\\n\")\n\tsteps = append(steps, config.CustomEnvVars...)\n\tc.addCustomSafeOutputEnvVars(&steps, data)\n\n\t// With section for inputs (replaces github-token in actions/github-script)\n\tsteps = append(steps, \" with:\\n\")\n\n\t// Map github-token to token input for custom actions\n\tif config.UseAgentToken {\n\t\tc.addCustomActionAgentGitHubToken(&steps, data, config.Token)\n\t} else if config.UseCopilotToken {\n\t\tc.addCustomActionCopilotGitHubToken(&steps, data, config.Token)\n\t} else {\n\t\tc.addCustomActionGitHubToken(&steps, data, config.Token)\n\t}\n\n\treturn steps\n}\n\n// Helper functions to add GitHub token as action input instead of github-script parameter\nfunc (c *Compiler) addCustomActionGitHubToken(steps *[]string, data *WorkflowData, customToken string) {\n\ttoken := customToken\n\tif token == \"\" && data.SafeOutputs != nil {\n\t\ttoken = data.SafeOutputs.GitHubToken\n\t}\n\tif token == \"\" {\n\t\ttoken = data.GitHubToken\n\t}\n\tif token == \"\" {\n\t\ttoken = \"${{ secrets.GITHUB_TOKEN }}\"\n\t}\n\t*steps = append(*steps, fmt.Sprintf(\" token: %s\\n\", token))\n}\n\nfunc (c *Compiler) addCustomActionCopilotGitHubToken(steps *[]string, data *WorkflowData, customToken string) {\n\ttoken := customToken\n\tif token == \"\" && data.SafeOutputs != nil {\n\t\ttoken = data.SafeOutputs.GitHubToken\n\t}\n\tif token == \"\" {\n\t\ttoken = \"${{ secrets.COPILOT_TOKEN || secrets.GITHUB_TOKEN }}\"\n\t}\n\t*steps = append(*steps, fmt.Sprintf(\" token: %s\\n\", token))\n}\n\nfunc (c *Compiler) addCustomActionAgentGitHubToken(steps *[]string, data *WorkflowData, customToken string) {\n\ttoken := customToken\n\tif token == \"\" {\n\t\ttoken = \"${{ env.GH_AW_AGENT_TOKEN }}\"\n\t}\n\t*steps = append(*steps, fmt.Sprintf(\" token: %s\\n\", token))\n}\n\n// HasSafeOutputsEnabled checks if any safe-outputs are enabled\nfunc HasSafeOutputsEnabled(safeOutputs *SafeOutputsConfig) bool {\n\tif safeOutputs == nil {\n\t\treturn false\n\t}\n\tenabled := safeOutputs.CreateIssues != nil ||\n\t\tsafeOutputs.CreateAgentTasks != nil ||\n\t\tsafeOutputs.CreateDiscussions != nil ||\n\t\tsafeOutputs.CloseDiscussions != nil ||\n\t\tsafeOutputs.CloseIssues != nil ||\n\t\tsafeOutputs.AddComments != nil ||\n\t\tsafeOutputs.CreatePullRequests != nil ||\n\t\tsafeOutputs.CreatePullRequestReviewComments != nil ||\n\t\tsafeOutputs.CreateCodeScanningAlerts != nil ||\n\t\tsafeOutputs.AddLabels != nil ||\n\t\tsafeOutputs.AddReviewer != nil ||\n\t\tsafeOutputs.AssignMilestone != nil ||\n\t\tsafeOutputs.AssignToAgent != nil ||\n\t\tsafeOutputs.AssignToUser != nil ||\n\t\tsafeOutputs.UpdateIssues != nil ||\n\t\tsafeOutputs.UpdatePullRequests != nil ||\n\t\tsafeOutputs.PushToPullRequestBranch != nil ||\n\t\tsafeOutputs.UploadAssets != nil ||\n\t\tsafeOutputs.MissingTool != nil ||\n\t\tsafeOutputs.NoOp != nil ||\n\t\tsafeOutputs.LinkSubIssue != nil ||\n\t\tsafeOutputs.HideComment != nil ||\n\t\tlen(safeOutputs.Jobs) > 0\n\n\tif safeOutputsLog.Enabled() {\n\t\tsafeOutputsLog.Printf(\"Safe outputs enabled check: %v\", ena
|
|
agent
Optional runtime import file not found: .github/shared-instructions.md
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
agent-stdio.log
Expired
|
1.75 MB |
sha256:cc764dcaecc246119a4579441b1de79794fbd4781476c7cef66421c40427410a
|
|
|
agent_output.json
Expired
|
2.3 KB |
sha256:7bb61afc3c0ca9d601af1522fda840d4ed89bf70c9ad7fd5eb31556ac7a5129b
|
|
|
aw_info.json
Expired
|
511 Bytes |
sha256:11ab4b67cfe20ba9d09164a5cdf923a16b3800862e639d705d4533299b5523c3
|
|
|
mcp-logs
Expired
|
4.22 KB |
sha256:dc5a878beba50dcf61894ea621cd74aee9658fa54c35f4a0b52e8d74910b6340
|
|
|
prompt.txt
Expired
|
4.99 KB |
sha256:cf41e8bb636c4b095147e2f7552e8767a0b6d07a53e302036ef87e38b745bec9
|
|
|
safe_output.jsonl
Expired
|
2.28 KB |
sha256:d8d58f18edc33224502c73843934c5ec619e40e29947a1c49ad9ebb806ef5f8a
|
|
|
threat-detection.log
Expired
|
136 KB |
sha256:866176d3fbb129a8c6796b6c8ef13653bc3686768413236dc8b1be082d4e0f86
|
|