Skip to content

Secret management for GitHub Actions #959

Open
@matkoch

Description

@matkoch

Description

Given GitHub CLI is present and the user is authenticated. The nuke :secrets command could set the secret variable directly in GitHub.

  • Check if user is authenticated
    gh auth status
    
  • Set secret value
    gh secret set <secret-name> --org <organization> --repos <repo-name>
    
  • List existing secret names
    gh secret list --org <organization> --repo <repo-name>
    

Usage Example

See https://nuke.build/docs/global-tool/secrets/

Alternative

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions