semaphoreio/semaphore

Automatic Whitespace Trimming for Secret Names

開放

#502 建立於 2025年8月19日

 (2 則留言) (0 個反應) (1 位負責人)Elixir (77 個分叉)batch import
enhancementgood first issueqol

倉庫指標

星標
 (1,519 顆星)
PR 合併指標
 (平均合併 6天 15小時) (30 天內合併 40 個 PR)

描述

Is your improvement proposal related to a problem? Please describe.

This is a request to automatically trim leading and trailing whitespace from secret names during creation or editing. Currently, a secret name can contain a blank space, such as a trailing space, which can cause unexpected failures in CI/CD pipelines.

This issue is difficult to debug because the whitespace is not easily visible in the user interface. Automatically trimming the names of secrets would prevent these types of errors, ensuring consistent behavior and improving the reliability of CI/CD configurations. This change would reduce user frustration and eliminate a common source of build failures.

Describe the solution you'd like

This should be done in the secrethub backend service, so it covers both updates through UI and API/CLI.

Describe alternatives you've considered

N/A

Additional context

N/A

貢獻者指南