security: Fix timing attack vulnerability in credential comparison (#1014)

Co-authored-by: Copilot AI <copilot@github.com>
This commit is contained in:
Hunter Wu
2025-12-06 15:13:27 +08:00
committed by GitHub
parent 6ca8945ca7
commit 72930b1e30
7 changed files with 65 additions and 12 deletions

View File

@@ -6,11 +6,16 @@ on:
types: [completed]
env:
new_version: ${{ github.ref_name }}
new_version: ${{ github.event.workflow_run.head_branch }}
jobs:
build-helm-package:
runs-on: ubuntu-latest
# Only run on successful builds triggered by tag pushes (version format: x.y.z or x.y.z-suffix)
if: |
github.event.workflow_run.conclusion == 'success' &&
github.event.workflow_run.event == 'push' &&
contains(github.event.workflow_run.head_branch, '.')
steps:
- name: Checkout helm chart repo