diff --git a/.github/workflows/chart.yaml b/.github/workflows/chart.yaml index b4de9cbe9..6d258b431 100644 --- a/.github/workflows/chart.yaml +++ b/.github/workflows/chart.yaml @@ -44,12 +44,10 @@ jobs: git config --global user.name "${GITHUB_ACTOR}" git config --global user.email "${GITHUB_ACTOR}@users.noreply.github.com" - - name: Checkout master + - name: Checkout code uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 with: - # Fetch entire history. Required for chart-releaser; see https://github.com/helm/chart-releaser-action/issues/13#issuecomment-602063896 fetch-depth: 0 - ref: ${{ github.ref_name }} - name: Lint chart run: | diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 2fc97bab0..0cf133e9a 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -224,7 +224,7 @@ jobs: - name: Set up Helm Unit Test run: helm plugin install https://github.com/helm-unittest/helm-unittest - - name: Checkout + - name: Checkout code uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 with: fetch-depth: 0 @@ -257,7 +257,7 @@ jobs: k8s: [v1.26.15, v1.27.13, v1.28.9, v1.29.4, v1.30.0] steps: - - name: Checkout + - name: Checkout code uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 - name: cache