Skip to content

Rename ZULIP_TOKEN env var to ZULIP_WEBHOOK_SECRET #1991

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 29, 2025

Conversation

apiraino
Copy link
Contributor

From comment #1989 (comment)

This patch makes it so, that we now accept ZULIP_WEBHOOK_SECRET for the token to send messages to Zulip, the name is slightly clearer. Keeping it compatible with ZULIP_TOKEN to allow time to change it in the infra.

r? @Mark-Simulacrum did you mean something like this patch?

thanks

Keeping it backward compatible to give time to replace it in the infra.
@apiraino
Copy link
Contributor Author

@rust-lang/infra can you check this out? thanks :)

@Kobzol
Copy link
Contributor

Kobzol commented May 28, 2025

I think that this will require some changes in the way we deploy triagebot, because we will need to rename the environment variable. Probably around here? I guess that we would need to synchronize merging of this PR with changing that infra config.

CC @marcoieni

@Kobzol
Copy link
Contributor

Kobzol commented May 28, 2025

Oh, sorry, I missed the mention of it being backwards compatible 🤦‍♂️ In that case I think this should be safe to merge. I will take a look tomorrow.

Copy link
Contributor

@Kobzol Kobzol left a comment

Choose a reason for hiding this comment

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

Thanks! :)

@Kobzol Kobzol added this pull request to the merge queue May 29, 2025
Merged via the queue into rust-lang:master with commit 2f9f52d May 29, 2025
3 checks passed
@apiraino apiraino deleted the rename-zulip-env-var branch May 29, 2025 12:38
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.

2 participants