mirror of
https://github.com/bjw-s-labs/helm-charts.git
synced 2025-07-04 08:57:04 +02:00
Make action compatible with push events (#12)
This commit is contained in:
parent
d2d078c510
commit
f1fcfe77d5
13 changed files with 179 additions and 75 deletions
44
.github/actions/collect-charts/action.yml
vendored
Normal file
44
.github/actions/collect-charts/action.yml
vendored
Normal file
|
@ -0,0 +1,44 @@
|
|||
name: 'Collect charts'
|
||||
description: 'Collects Helm charts based on the inputs 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'
|
||||
getAllCharts:
|
||||
description: >
|
||||
Instead of finding the changed charts, return
|
||||
all the charts
|
||||
required: false
|
||||
default: 'false'
|
||||
overrideCharts:
|
||||
description: >
|
||||
A JSON encoded array of charts to return instead of finding
|
||||
the changed charts
|
||||
required: false
|
||||
default: '[]'
|
||||
outputs:
|
||||
charts:
|
||||
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