This commit is contained in:
Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs 2022-07-27 08:21:24 +02:00
parent 5e73a453e2
commit 9cbcea5d1b
No known key found for this signature in database
GPG key ID: BC5E2BD907F9A8EC

View file

@ -25,7 +25,7 @@ runs:
list-files: shell list-files: shell
filters: | filters: |
addedOrModified: addedOrModified:
- added|modified: 'src/charts/*/**' - added|modified: 'charts/*/**'
# - name: Collect changed charts # - name: Collect changed charts
# if: | # if: |
@ -50,8 +50,10 @@ runs:
- name: Collect changed charts - name: Collect changed charts
id: changed-charts id: changed-charts
shell: bash shell: bash
working-directory: src
run: | run: |
pwd
ls
which ct
CHARTS=$(ct list-changed --config .ci/ct/ct-lint.yaml) CHARTS=$(ct list-changed --config .ci/ct/ct-lint.yaml)
# Set output to changed charts # Set output to changed charts
printf "::set-output name=addedOrModifiedCharts::%s\n" "${CHARTS[*]}" printf "::set-output name=addedOrModifiedCharts::%s\n" "${CHARTS[*]}"