Added PGP public key to config
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 10s
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 10s
This commit is contained in:
@@ -18,7 +18,9 @@ def simpl_open_gitea_workflow_config_mapping_fn(cfg):
|
||||
"token_expiration_days": cfg["token_expiration_days"],
|
||||
}
|
||||
},
|
||||
"send_credentials_email": {"config": {}},
|
||||
"send_credentials_email": {"config": {
|
||||
"pgp_public_key_armored": cfg["pgp_public_key_armored"]
|
||||
}},
|
||||
}
|
||||
}
|
||||
|
||||
@@ -50,5 +52,10 @@ simpl_open_gitea_workflow_config_mapping = config_mapping(
|
||||
default_value=30,
|
||||
description="Token expiration in days",
|
||||
),
|
||||
"pgp_public_key_armored": Field(
|
||||
str,
|
||||
default_value="key",
|
||||
description="Public PGP key",
|
||||
)
|
||||
}
|
||||
)(simpl_open_gitea_workflow_config_mapping_fn)
|
||||
|
||||
Reference in New Issue
Block a user