Skip to content
thecodeoriginPublic

About

Pinned reusable GitHub Actions for THECODEORIGIN deployments

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

11 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

THECODEORIGIN Actions

Shared composite action that loads a scoped THECODEORIGIN Vault environment into a job.

Vault environment

Store one repository secret: THECODEORIGIN_VAULT_TOKEN. Keep application and deployment credentials in the thecodeorigin-co-ltd Vault organization. Give each token access only to the project environments its workflow needs.

- uses: thecodeorigin/actions/vault-environment@807bb07b3875b95867317f17eb0ae9c6dc20056c
  with:
    token: ${{ secrets.THECODEORIGIN_VAULT_TOKEN }}
    project: email
    environment: production
    deployment-kind: production

The action validates the returned scope, masks values, and writes them to the job environment. Use keys: '["CLOUDFLARE_API_TOKEN", "CLOUDFLARE_ACCOUNT_ID"]' to select specific keys. Reserved runner and shell variables cannot be overwritten. The Vault token is available only to the loader step.

Each repository deploys through its own workflows. Pin callers to a reviewed full commit SHA of these actions and pass named secrets explicitly.

Run loader checks with node --test test/*.test.mjs.

About

Pinned reusable GitHub Actions for THECODEORIGIN deployments

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages