Skip to content

chore: use org-level TG_TOKEN secret#306

Closed
Pigbibi wants to merge 1 commit into
mainfrom
chore/use-org-tg-token
Closed

chore: use org-level TG_TOKEN secret#306
Pigbibi wants to merge 1 commit into
mainfrom
chore/use-org-tg-token

Conversation

@Pigbibi

@Pigbibi Pigbibi commented Jul 7, 2026

Copy link
Copy Markdown
Collaborator

改动

STRATEGY_PLUGIN_ALERT_TELEGRAM_BOT_TOKEN 改为从 org-level TG_TOKEN secret 读取。

环境变量名不变,Cloud Run 运行时不受影响。

前置条件

  • Org secret TG_TOKEN 已创建(需 org admin)

🤖 Generated with Claude Code

STRATEGY_PLUGIN_ALERT_TELEGRAM_BOT_TOKEN secret → org-level TG_TOKEN

Co-Authored-By: Claude <noreply@anthropic.com>
@cursor

cursor Bot commented Jul 7, 2026

Copy link
Copy Markdown

Bugbot is not enabled for your account, so this pull request was not reviewed.

Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs.

@Pigbibi Pigbibi closed this Jul 7, 2026
@Pigbibi Pigbibi deleted the chore/use-org-tg-token branch July 7, 2026 23:14
@Pigbibi Pigbibi restored the chore/use-org-tg-token branch July 7, 2026 23:14

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: d7c17bd77b

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

STRATEGY_PLUGIN_ALERT_PUSH_APP_TOKEN: ${{ secrets.STRATEGY_PLUGIN_ALERT_PUSH_APP_TOKEN }}
STRATEGY_PLUGIN_ALERT_PUSH_ACCESS_TOKEN: ${{ secrets.STRATEGY_PLUGIN_ALERT_PUSH_ACCESS_TOKEN }}
STRATEGY_PLUGIN_ALERT_TELEGRAM_BOT_TOKEN: ${{ secrets.STRATEGY_PLUGIN_ALERT_TELEGRAM_BOT_TOKEN }}
STRATEGY_PLUGIN_ALERT_TELEGRAM_BOT_TOKEN: ${{ secrets.TG_TOKEN }}

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Update the workflow invariant test for TG_TOKEN

When bash tests/test_sync_cloud_run_env_workflow.sh is run, it now exits 1 because the script still greps for STRATEGY_PLUGIN_ALERT_TELEGRAM_BOT_TOKEN: ${{ secrets.STRATEGY_PLUGIN_ALERT_TELEGRAM_BOT_TOKEN }} while this workflow now emits secrets.TG_TOKEN. Please update the workflow test alongside this secret rename so the repo’s validation for this deployment workflow remains usable.

Useful? React with 👍 / 👎.

@Pigbibi Pigbibi deleted the chore/use-org-tg-token branch July 7, 2026 23:42
@Pigbibi Pigbibi restored the chore/use-org-tg-token branch July 7, 2026 23:43
@Pigbibi Pigbibi deleted the chore/use-org-tg-token branch July 7, 2026 23:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant