You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# If we have an env var but it's not in shell config, save it for persistence
42
+
ifenv_api_keyandnotshell_api_key:
43
+
try:
44
+
fromcodeflash.eitherimportis_successful
45
+
result=save_api_key_to_rc(env_api_key)
46
+
ifis_successful(result):
47
+
logger.debug(f"Automatically saved API key from environment to shell config: {result.unwrap()}")
48
+
exceptExceptionase:
49
+
logger.debug(f"Failed to automatically save API key to shell config: {e}")
50
+
51
+
api_key=env_api_keyorshell_api_key
44
52
45
53
api_secret_docs_message="For more information, refer to the documentation at [https://docs.codeflash.ai/getting-started/codeflash-github-actions#add-your-api-key-to-your-repository-secrets]."# noqa
0 commit comments