Skip to content

Docs: don't pass a prompt between jobs through a job output #73

Open

Description

@jdcmsd

GitHub Actions drops any job output whose value the runner's secret masker would mask. The masker matches more than secret values: it also matches patterns such as Bearer <token-like word>. A consumer that builds prompt in an earlier job and passes it to an ai-workflows executor through needs.<job>.outputs can lose the whole prompt this way. The runner shows only a warning, the executor receives an empty string, and the run can still go green.

This is what broke dotCMS/core's autodoc. Any issue or PR text containing an example such as curl -H "Authorization: Bearer ..." tripped the masker. Job outputs are also capped at 1 MB per job.

Fix: add a short gotcha under "Usage by Consuming Repositories" in CLAUDE.md:

  • Build the prompt in the same job that calls the executor, or pass large or untrusted text as an artifact (encrypted, if the repo is public).
  • Never route untrusted, multi-KB text through job outputs.

Raised in review of #70.

Activity

  1. added
    documentation
    on Oct 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentation

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions