mirror of
https://github.com/bjw-s-labs/helm-charts.git
synced 2025-07-04 00:47:04 +02:00
ci: Pin actions
This commit is contained in:
parent
b3dd7419ee
commit
8f66d48e6e
6 changed files with 44 additions and 44 deletions
14
.github/workflows/pr-validate.yaml
vendored
14
.github/workflows/pr-validate.yaml
vendored
|
@ -23,7 +23,7 @@ jobs:
|
|||
chartsToInstall: ${{ steps.charts-to-install.outputs.filteredCharts }}
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
|
@ -35,11 +35,11 @@ jobs:
|
|||
|
||||
- name: Get all added or modified files
|
||||
id: added-modified-files
|
||||
uses: tj-actions/changed-files@v45
|
||||
uses: tj-actions/changed-files@ed68ef82c095e0d48ec87eccea555d944a631a4c # v46.0.5
|
||||
|
||||
- name: Get changed charts
|
||||
id: changed-charts
|
||||
uses: tj-actions/changed-files@v45
|
||||
uses: tj-actions/changed-files@ed68ef82c095e0d48ec87eccea555d944a631a4c # v46.0.5
|
||||
with:
|
||||
matrix: true
|
||||
path: charts
|
||||
|
@ -48,7 +48,7 @@ jobs:
|
|||
|
||||
- name: Determine charts to lint
|
||||
id: charts-to-lint
|
||||
uses: actions/github-script@v7
|
||||
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
|
||||
with:
|
||||
script: |
|
||||
var changedCharts = ${{ steps.changed-charts.outputs.all_changed_files }};
|
||||
|
@ -58,7 +58,7 @@ jobs:
|
|||
|
||||
- name: Determine charts to install
|
||||
id: charts-to-install
|
||||
uses: actions/github-script@v7
|
||||
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
|
||||
with:
|
||||
script: |
|
||||
var changedCharts = ${{ steps.changed-charts.outputs.all_changed_files }};
|
||||
|
@ -73,10 +73,10 @@ jobs:
|
|||
- prepare
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||
|
||||
- name: Run against changes
|
||||
uses: pre-commit/action@v3.0.1
|
||||
uses: pre-commit/action@2c7b3805fd2a0fd8c1884dcaebf91fc102a13ecd # v3.0.1
|
||||
with:
|
||||
extra_args: --files ${{ needs.prepare.outputs.addedOrModifiedFiles }} --config .ci/pre-commit/config.yaml
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue