mirror of
https://github.com/truecharts/charts.git
synced 2026-08-03 14:14:35 -03:00
Update charts-lint.yaml
Signed-off-by: Kjeld Schouten <kjeld@schouten-lebbing.nl>
This commit is contained in:
9
.github/workflows/charts-lint.yaml
vendored
9
.github/workflows/charts-lint.yaml
vendored
@@ -9,6 +9,9 @@ on:
|
||||
chartChangesDetected:
|
||||
required: true
|
||||
type: string
|
||||
modifiedFiles:
|
||||
required: true
|
||||
type: string
|
||||
|
||||
jobs:
|
||||
lint-and-verify:
|
||||
@@ -49,6 +52,12 @@ jobs:
|
||||
echo "detected=true" >> "$GITHUB_OUTPUT"
|
||||
fi
|
||||
|
||||
- name: Run against changes
|
||||
uses: pre-commit/action@v2.0.3
|
||||
if: steps.list-changed.outputs.detected == 'true'
|
||||
with:
|
||||
extra_args: --files ${{ inputs.modifiedFiles }}
|
||||
|
||||
- name: Fetch and Verify dependencies
|
||||
shell: bash
|
||||
if: steps.list-changed.outputs.detected == 'true'
|
||||
|
||||
Reference in New Issue
Block a user