mirror of
https://github.com/bjw-s-labs/helm-charts.git
synced 2025-07-03 16:37:04 +02:00
ci: Pin actions
This commit is contained in:
parent
b3dd7419ee
commit
8f66d48e6e
6 changed files with 44 additions and 44 deletions
18
.github/workflows/charts-lint.yaml
vendored
18
.github/workflows/charts-lint.yaml
vendored
|
@ -32,19 +32,19 @@ jobs:
|
|||
runs-on: ubuntu-22.04
|
||||
steps:
|
||||
- name: Checkout pull request branch
|
||||
uses: actions/checkout@v4
|
||||
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||
with:
|
||||
path: pull
|
||||
|
||||
- name: Checkout default branch
|
||||
uses: actions/checkout@v4
|
||||
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||
with:
|
||||
ref: "${{ github.event.repository.default_branch }}"
|
||||
path: default
|
||||
|
||||
- name: Get chart details for PR
|
||||
id: chart-details-pr
|
||||
uses: bjw-s/helm-charts-actions/get-chart-details@main
|
||||
uses: bjw-s-labs/helm-charts-actions/get-chart-details@main
|
||||
with:
|
||||
path: pull/charts/${{ matrix.chart }}
|
||||
validateChartYaml: true
|
||||
|
@ -52,7 +52,7 @@ jobs:
|
|||
|
||||
- name: Get chart details for default branch
|
||||
id: chart-details-default
|
||||
uses: bjw-s/helm-charts-actions/get-chart-details@main
|
||||
uses: bjw-s-labs/helm-charts-actions/get-chart-details@main
|
||||
with:
|
||||
path: default/charts/${{ matrix.chart }}
|
||||
allowChartToNotExist: true
|
||||
|
@ -61,14 +61,14 @@ jobs:
|
|||
|
||||
# - name: Check version update
|
||||
# if: ${{ steps.chart-details-pr.outputs.version == steps.chart-details-default.outputs.version }}
|
||||
# uses: actions/github-script@v7
|
||||
# uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
|
||||
# with:
|
||||
# script: |
|
||||
# core.setFailed("Chart version has not been updated for ${{ matrix.chart }}");
|
||||
|
||||
# - name: Check changelog update
|
||||
# if: ${{ steps.chart-details-pr.outputs.changes == steps.chart-details-default.outputs.changes }}
|
||||
# uses: actions/github-script@v7
|
||||
# uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
|
||||
# with:
|
||||
# script: |
|
||||
# core.setFailed("Changelog has not been updated for ${{ matrix.chart }}");
|
||||
|
@ -100,17 +100,17 @@ jobs:
|
|||
runs-on: ubuntu-22.04
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||
|
||||
- name: Install Kubernetes tools
|
||||
uses: yokawasa/action-setup-kube-tools@v0.11.2
|
||||
uses: yokawasa/action-setup-kube-tools@9e25a4277af127b60011c95b6ed2da7e3b3613b1 # v0.11.2
|
||||
with:
|
||||
setup-tools: |
|
||||
helmv3
|
||||
helm: "${{ inputs.helmVersion }}"
|
||||
|
||||
- name: Set up chart-testing
|
||||
uses: helm/chart-testing-action@v2.7.0
|
||||
uses: helm/chart-testing-action@0d28d3144d3a25ea2cc349d6e59901c4ff469b3b # v2.7.0
|
||||
|
||||
- name: Dereference JSON schema
|
||||
uses: bjw-s/helm-charts-actions/dereference-json-schema@main
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue