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 cc027b6 commit 3902a29
Showing 1 changed file with 7 additions and 12 deletions.
19 changes: 7 additions & 12 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
# with:
# ref: ${{ github.event.pull_request.head.ref }}
with:
ref: ${{ github.event.pull_request.head.ref }}

- name: Set up Helm
uses: azure/setup-helm@v4
Expand All @@ -33,16 +33,11 @@ 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.
ct --target-branch develop --config ./.github/configs/ct-lint.yaml list-changed
- 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 3902a29

Please sign in to comment.