Update common-tests.yaml

Signed-off-by: Kjeld Schouten <info@kjeldschouten.nl>
This commit is contained in:
Kjeld Schouten
2024-10-19 20:56:28 +02:00
committed by GitHub
parent 1f4589e8cd
commit 402eab8be6
+10 -10
View File
@@ -23,21 +23,21 @@ jobs:
check_changes:
runs-on: ubuntu-latest
outputs:
changes_detected: ${{ steps.filter.outputs.changed }}
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Check for changes in specific folder
id: check_changes
run: |
if git diff --exit-code HEAD^ HEAD -- charts/library/common; then
echo "No changes detected in the folder."
echo "::set-output name=changes_detected::false"
else
echo "Changes detected in the folder."
echo "::set-output name=changes_detected::true"
fi
- name: Filter paths
id: filter
uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # v3
with:
list-files: json
filters: |
changed:
- 'charts/library/common/**'
lint:
name: Lint Common