Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions Pulumi.github.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,5 @@ config:
secure: AAABAPPMLayK4tU/kYAF1iznH5dfQ/1noL83G2M0T0du6kSI5z0xdYmmoGeVUpKpeYJ6UTrQ7mPG/pkuzPMWLGvv3a6Zq3J9
holochain:claudeCodeOauthToken:
secure: AAABAMM1RkgKDbPBHmuZdx+1ciCJTzDRSd/o2cm0QUPmo4jd1AICHf2qe/Vpcjvid+kFh3DuHiS9cZOgZKuG6G1NTi0l+7apL0jPZ7d+Nl1kdZqKLUWH/0zNPoZq9ng53Tr9LCZAxsa86/Jq5b9ijJXaiBxJ0jMEqGciMmBNTGtqwiqnlGrUmMqdEpE=
holochain:threefoldTfChainWalletMnemonic:
secure: AAABAHnzklqdwRGuZktNgbwY8fqwFMl5DM8jrN7AuFz6NXAvaJBukfoUvYFoq5YQObo6eaooQbInhK6LAw8mulpGjhzCQmUsFLLlIHrShD28k9iKaKnfpkiE/SRzzuVSoJAdKxS0tg6fdpPIMAc=
14 changes: 14 additions & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,9 @@ func main() {
if err = AddClaudeCodeOauthTokenSecret(ctx, conf, "wind-tunnel"); err != nil {
return err
}
if err = AddThreefoldTfChainWalletMnemonic(ctx, conf, "wind-tunnel"); err != nil {
return err
}

//
// Holochain JS client
Expand Down Expand Up @@ -1795,6 +1798,17 @@ func AddClaudeCodeOauthTokenSecret(ctx *pulumi.Context, cfg *config.Config, repo
return err
}

func AddThreefoldTfChainWalletMnemonic(ctx *pulumi.Context, cfg *config.Config, repository string) error {
_, err := github.NewActionsSecret(ctx, fmt.Sprintf("%s-threefold-tfchain-wallet-mnemonic", repository), &github.ActionsSecretArgs{
Repository: pulumi.String(repository),
SecretName: pulumi.String("THREEFOLD_TFCHAIN_WALLET_MNEMONIC"),
// The GitHub API only accepts encrypted values. This will be encrypted by the provider before being sent.
PlaintextValue: cfg.RequireSecret("threefoldTfChainWalletMnemonic"),
}, pulumi.DeleteBeforeReplace(true), pulumi.IgnoreChanges([]string{"encryptedValue"}))

return err
}

// RepositoryLabel represents a standard label that can be applied to repositories.
type RepositoryLabel string

Expand Down
Loading