Skip to content

Commit 4e8bb4d

Browse files
authored
Merge pull request #207 from QuantStrategyLab/chore/use-org-tg-token
chore: use org-level TG_TOKEN secret
2 parents 15da15c + 1b8d135 commit 4e8bb4d

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/sync-cloud-run-env.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ jobs:
150150
STRATEGY_PLUGIN_ALERT_SMS_AUTH_TOKEN: ${{ secrets.STRATEGY_PLUGIN_ALERT_SMS_AUTH_TOKEN }}
151151
STRATEGY_PLUGIN_ALERT_PUSH_APP_TOKEN: ${{ secrets.STRATEGY_PLUGIN_ALERT_PUSH_APP_TOKEN }}
152152
STRATEGY_PLUGIN_ALERT_PUSH_ACCESS_TOKEN: ${{ secrets.STRATEGY_PLUGIN_ALERT_PUSH_ACCESS_TOKEN }}
153-
STRATEGY_PLUGIN_ALERT_TELEGRAM_BOT_TOKEN: ${{ secrets.STRATEGY_PLUGIN_ALERT_TELEGRAM_BOT_TOKEN }}
153+
STRATEGY_PLUGIN_ALERT_TELEGRAM_BOT_TOKEN: ${{ secrets.TG_TOKEN }}
154154
FIRSTRADE_USERNAME: ${{ secrets.FIRSTRADE_USERNAME }}
155155
FIRSTRADE_PASSWORD: ${{ secrets.FIRSTRADE_PASSWORD }}
156156
FIRSTRADE_MFA_SECRET: ${{ secrets.FIRSTRADE_MFA_SECRET }}

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ dependencies = [
1818
"pytest",
1919
"pytz",
2020
"requests",
21-
"quant-platform-kit @ git+https://github.com/QuantStrategyLab/QuantPlatformKit.git@37c81901160c5b31127a27dba1c63944933fb6bf",
21+
"quant-platform-kit @ git+https://github.com/QuantStrategyLab/QuantPlatformKit.git@f1d2c323b2a96383acec83a07bbf1816938c4650",
2222
"us-equity-strategies @ git+https://github.com/QuantStrategyLab/UsEquityStrategies.git@17ddb86c72d44b2c7b78ba7a10d8f71b21180166",
2323
]
2424
license = "MIT"

tests/test_sync_cloud_run_env_workflow.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ def test_sync_cloud_run_env_workflow_uses_sync_plan_script():
117117
) in workflow
118118
assert (
119119
"STRATEGY_PLUGIN_ALERT_TELEGRAM_BOT_TOKEN: "
120-
"${{ secrets.STRATEGY_PLUGIN_ALERT_TELEGRAM_BOT_TOKEN }}"
120+
"${{ secrets.TG_TOKEN }}"
121121
) in workflow
122122
assert (
123123
"add_optional_secret STRATEGY_PLUGIN_ALERT_TELEGRAM_BOT_TOKEN "

0 commit comments

Comments
 (0)