helm-charts/.github/actions/collect-changed-charts/action.yml
2022-07-29 14:26:42 +02:00

32 lines
889 B
YAML

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'