mirror of
https://github.com/bjw-s-labs/helm-charts.git
synced 2025-07-04 08:57: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
4
.github/workflows/pre-commit-check.yaml
vendored
4
.github/workflows/pre-commit-check.yaml
vendored
|
@ -4,6 +4,8 @@ on:
|
|||
workflow_call:
|
||||
inputs:
|
||||
modifiedFiles:
|
||||
description: >
|
||||
A JSON encoded array of files to check
|
||||
required: true
|
||||
type: string
|
||||
|
||||
|
@ -18,4 +20,4 @@ jobs:
|
|||
- name: Run against changes
|
||||
uses: pre-commit/action@v3.0.0
|
||||
with:
|
||||
extra_args: --files ${{ inputs.modifiedFiles }} --config .ci/pre-commit/config.yaml
|
||||
extra_args: --files ${{ join(fromJson(inputs.modifiedFiles), ' ') }} --config .ci/pre-commit/config.yaml
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue