Skip to content

Commit 9c013f6

Browse files
Fix gofmt formatting in compiler_safe_output_jobs.go
The previous commit (#40161) left a doc comment in buildSafeOutputsJobs unformatted, which fails CI's fmt-check (make lint). Reformat the comment block to satisfy gofmt. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent 05ac29e commit 9c013f6

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

pkg/workflow/compiler_safe_output_jobs.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -164,9 +164,9 @@ func (c *Compiler) buildSafeOutputsJobs(data *WorkflowData, jobName, markdownPat
164164
// - has an `if:` that checks needs.safe_outputs.outputs.call_workflow_name
165165
// - uses: the relative path to the worker's .lock.yml (or .yml)
166166
// - forwards declared workflow_call inputs in `with:` so worker steps can reference inputs.<name> directly:
167-
// - non-payload inputs: `fromJSON(needs.safe_outputs.outputs.call_workflow_payload).<name>`
168-
// - `payload` is forwarded as the raw transport only when the worker declares it
169-
// (GitHub Actions rejects undeclared inputs)
167+
// - non-payload inputs: `fromJSON(needs.safe_outputs.outputs.call_workflow_payload).<name>`
168+
// - `payload` is forwarded as the raw transport only when the worker declares it
169+
// (GitHub Actions rejects undeclared inputs)
170170
// - inherits all caller secrets via `secrets: inherit`
171171
// - includes a job-level `permissions:` block that is the union of all the
172172
// worker's job-level permissions, so GitHub allows the nested jobs to run

0 commit comments

Comments
 (0)