From 318fe5023d40c184e012edfcd109f1f4b2562d19 Mon Sep 17 00:00:00 2001 From: Mitali Salvi Date: Wed, 13 Mar 2024 14:50:37 -0400 Subject: [PATCH] Testing GHA with commit SHA --- .github/workflows/release.yaml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 8147c32..5868ef2 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -2,15 +2,21 @@ name: Release Helm Charts on: workflow_dispatch: + inputs: + commit_sha: + required: true + type: string + default: "" + description: "Release commit SHA" jobs: release: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: - fetch-depth: 0 + ref: "${{ github.event.inputs.commit_sha }}" - name: Configure Git run: |