We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e52d702 commit 6c66598Copy full SHA for 6c66598
project_setup/scripts/terraform-to-secrets
@@ -248,7 +248,7 @@ def set_secret(
248
secret_value: str,
249
public_key: Dict[str, str],
250
) -> None:
251
- """Create a secret in a repository."""
+ """Create a secret in a repository or environment."""
252
if github_env:
253
logging.info(f"Creating secret {secret_name} in environment {github_env}")
254
api_url = f"https://api.github.com/repos/{repo_name}/environments/{github_env}/secrets/{secret_name}"
0 commit comments