Skip to content

Commit

Permalink
add documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
hect0x7 committed Jan 4, 2024
1 parent 1b4cc2e commit c179b1c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions usage/workflow_export_favorites.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@


def prepare_actions_input_and_secrets():
"""
本函数替代对配置文件中的 ${} 的解析函数
目的是为了支持:当没有配置环境变量时,可以找另一个环境变量来用
"""

def env(match: Match) -> str:
name = match[1]
value = os.getenv(name, '')
Expand Down

0 comments on commit c179b1c

Please sign in to comment.