mirror of
https://github.com/bjw-s-labs/helm-charts.git
synced 2025-07-04 00:47:04 +02:00
Implement custom action to collect changes / matrix (#9)
This commit is contained in:
parent
fe0b8338e0
commit
01e39f181c
20 changed files with 22213 additions and 183 deletions
32
.github/actions/collect-changed-charts/action.yml
vendored
Normal file
32
.github/actions/collect-changed-charts/action.yml
vendored
Normal file
|
@ -0,0 +1,32 @@
|
|||
name: 'Changed charts'
|
||||
description: 'Collects the changed Helm charts and returns the lint/test matrix'
|
||||
inputs:
|
||||
token:
|
||||
description: >
|
||||
GitHub token for GitHub API requests.
|
||||
required: true
|
||||
default: '${{ github.token }}'
|
||||
chartsFolder:
|
||||
description: >
|
||||
Base folder containing all the charts
|
||||
required: true
|
||||
default: 'charts'
|
||||
repoConfigFile:
|
||||
description: >
|
||||
Path to the repo config file that contains which charts
|
||||
should be excluded from linting/testing.
|
||||
required: true
|
||||
default: '.ci/repo-config.yaml'
|
||||
outputs:
|
||||
changedCharts:
|
||||
description: >
|
||||
An array of all the Helm charts that contain changes
|
||||
chartsToInstall:
|
||||
description: >
|
||||
An array of the charts that should be installed
|
||||
chartsToLint:
|
||||
description: >
|
||||
An array of the charts that should be linted
|
||||
runs:
|
||||
using: 'node16'
|
||||
main: 'dist/index.js'
|
Loading…
Add table
Add a link
Reference in a new issue