Skip to content

Official GitHub Action: cachix/secretspec-action #97

@domenkozar

Description

@domenkozar

Spun out from #49.

Ship an official Action that wraps secretspec export --format gha (#94) so secrets land in $GITHUB_ENV for the rest of the job, including third-party Actions later in the workflow. The secretspec run -- cmd wrapper only works for steps we control; once a third-party Action needs the env (Docker build, deploy, etc.), the wrapper pattern breaks.

Shape:

- uses: cachix/secretspec-action@v1
  with:
    profile: production
    provider: env   # optional

Responsibilities:

  • Install and cache the secretspec binary
  • Run secretspec export --format gha
  • Append KEY=value to $GITHUB_ENV
  • Emit ::add-mask::value per secret so the runner's log scrubber catches accidental echoes

Depends on #94.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions