mirror of
https://github.com/bjw-s-labs/helm-charts.git
synced 2025-07-04 08:57:04 +02:00
ci: Pin actions
This commit is contained in:
parent
b3dd7419ee
commit
8f66d48e6e
6 changed files with 44 additions and 44 deletions
10
.github/workflows/charts-release.yaml
vendored
10
.github/workflows/charts-release.yaml
vendored
|
@ -29,7 +29,7 @@ jobs:
|
|||
# Setup
|
||||
# ----------------------------
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
|
@ -42,7 +42,7 @@ jobs:
|
|||
- name: Get changed library charts
|
||||
id: changed-library-charts
|
||||
if: ${{ github.event_name != 'workflow_dispatch' }}
|
||||
uses: tj-actions/changed-files@v45
|
||||
uses: tj-actions/changed-files@ed68ef82c095e0d48ec87eccea555d944a631a4c # v46.0.5
|
||||
with:
|
||||
matrix: true
|
||||
path: charts
|
||||
|
@ -54,7 +54,7 @@ jobs:
|
|||
- name: Get changed charts
|
||||
id: changed-charts
|
||||
if: ${{ github.event_name != 'workflow_dispatch' }}
|
||||
uses: tj-actions/changed-files@v45
|
||||
uses: tj-actions/changed-files@ed68ef82c095e0d48ec87eccea555d944a631a4c # v46.0.5
|
||||
with:
|
||||
matrix: true
|
||||
path: charts
|
||||
|
@ -66,7 +66,7 @@ jobs:
|
|||
- name: Get specified charts
|
||||
id: specified-charts
|
||||
if: ${{ github.event_name == 'workflow_dispatch' }}
|
||||
uses: actions/github-script@v7
|
||||
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
|
||||
with:
|
||||
script: |
|
||||
const fs = require('fs');
|
||||
|
@ -105,7 +105,7 @@ jobs:
|
|||
|
||||
- name: Filter out excluded charts
|
||||
id: filtered-charts
|
||||
uses: actions/github-script@v7
|
||||
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
|
||||
with:
|
||||
script: |
|
||||
let libraryChartsInput = ${{ github.event_name == 'workflow_dispatch' && steps.specified-charts.outputs.libraryChartsToRelease || steps.changed-library-charts.outputs.all_changed_files }};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue