Skip to content

Commit

Permalink
Update lint.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
ypoplavs authored Mar 7, 2024
1 parent 3354c79 commit f2c0087
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,16 +33,16 @@ jobs:
with:
version: v3.7.1

- name: List changed charts
id: list-changed
run: |
## If executed with debug this won't work anymore.
changed=$(ct --target-branch develop --config ./.github/configs/ct-lint.yaml list-changed)
charts=$(echo "$changed" | tr '\n' ' ' | xargs)
if [[ -n "$changed" ]]; then
echo "changed=true" >> $GITHUB_OUTPUT
echo "changed_charts=$charts" >> $GITHUB_OUTPUT
fi
# - name: List changed charts
# id: list-changed
# run: |
# ## If executed with debug this won't work anymore.
# changed=$(ct --target-branch develop --config ./.github/configs/ct-lint.yaml list-changed)
# charts=$(echo "$changed" | tr '\n' ' ' | xargs)
# if [[ -n "$changed" ]]; then
# echo "changed=true" >> $GITHUB_OUTPUT
# echo "changed_charts=$charts" >> $GITHUB_OUTPUT
# fi

- name: Run chart-testing (lint)
run: ct lint --debug --target-branch develop --config ./.github/configs/ct-lint.yaml --lint-conf ./.github/configs/lintconf.yaml

0 comments on commit f2c0087

Please sign in to comment.