From b9e9b85cc89fd9c5b1103de70eb60f3170e32989 Mon Sep 17 00:00:00 2001 From: Kunall Banerjee Date: Thu, 29 Jan 2026 14:17:53 -0500 Subject: [PATCH] Add security warnings to issue templates (#47957) Warn users to review and remove secrets from logs and settings before posting them in bug reports and crash reports. Release Notes: - N/A --------- Co-authored-by: John D. Swanson --- .github/ISSUE_TEMPLATE/10_bug_report.yml | 8 ++++++-- .github/ISSUE_TEMPLATE/11_crash_report.yml | 2 ++ 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/10_bug_report.yml b/.github/ISSUE_TEMPLATE/10_bug_report.yml index cae10f02ec3b1bcb024f0d1f1bce0691a39054b4..13e43219dd65a78af4afec479330bbc5fd85fe42 100644 --- a/.github/ISSUE_TEMPLATE/10_bug_report.yml +++ b/.github/ISSUE_TEMPLATE/10_bug_report.yml @@ -6,7 +6,7 @@ body: - type: markdown attributes: value: | - Is this bug already reported? Upvote to get it noticed faster. [Here's the search](https://github.com/zed-industries/zed/issues). Upvote means giving it a :+1: reaction. + Is this bug already reported? Upvote to get it noticed faster. [Here’s the search](https://github.com/zed-industries/zed/issues). Upvote means giving it a :+1: reaction. Feature request? Please open in [discussions](https://github.com/zed-industries/zed/discussions/new/choose) instead. @@ -48,6 +48,8 @@ body: label: Attach Zed log file description: | Open the command palette in Zed, then type `zed: open log` to see the last 1000 lines. Or type `zed: reveal log in file manager` in the command palette to reveal the log file itself. + + ⚠️ **Please review your log file for secrets (API keys, tokens, etc.) and partially or fully redact them before posting.** value: |
Zed.log @@ -64,6 +66,8 @@ body: label: Relevant Zed settings description: | Open the command palette in Zed, then type “zed: open settings file” and copy/paste any relevant (e.g., LSP-specific) settings. + + ⚠️ **Please review your settings file for secrets (API keys, tokens, etc.) and partially or fully redact them before posting.** value: |
settings.json @@ -79,7 +83,7 @@ body: attributes: label: Relevant Keymap description: | - Open the command palette in Zed, then type “zed: open keymap file” and copy/paste the file's contents. + Open the command palette in Zed, then type “zed: open keymap file” and copy/paste the file’s contents. value: |
keymap.json diff --git a/.github/ISSUE_TEMPLATE/11_crash_report.yml b/.github/ISSUE_TEMPLATE/11_crash_report.yml index a019848e874fee709a935a54aa68bae813374628..9930f8926ce375f0f12ed50f31e582a8fc571b17 100644 --- a/.github/ISSUE_TEMPLATE/11_crash_report.yml +++ b/.github/ISSUE_TEMPLATE/11_crash_report.yml @@ -30,6 +30,8 @@ body: label: Attach Zed log file description: | Open the command palette in Zed, then type `zed: open log` to see the last 1000 lines. Or type `zed: reveal log in file manager` in the command palette to reveal the log file itself. + + ⚠️ **Please review your log file for secrets (API keys, tokens, etc.) and partially or fully redact them before posting.** value: |
Zed.log