Skip to content

Commit

Permalink
Improve branch reference in workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
luis02lopez committed Jan 2, 2025
1 parent 0b69eed commit c0be2b5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,22 +54,22 @@ jobs:
# - name: Run chart-testing (list-changed)
# id: list-changed
# run: |
# changed=$(ct list-changed --target-branch $GITHUB_REF
# changed=$(ct list-changed --target-branch $GITHUB_REF_NAME
# if [[ -n "$changed" ]]; then
# echo "changed=true" >> "$GITHUB_OUTPUT"
# fi

- name: Run chart-testing (lint)
# if: steps.list-changed.outputs.changed == 'true'
run: ct lint --target-branch $GITHUB_REF
run: ct lint --target-branch $GITHUB_REF_NAME

- name: Create kind cluster
# if: steps.list-changed.outputs.changed == 'true'
uses: helm/[email protected]

- name: Run chart-testing (install)
# if: steps.list-changed.outputs.changed == 'true'
run: ct install --target-branch $GITHUB_REF
run: ct install --target-branch $GITHUB_REF_NAME

- name: Run chart-releaser
uses: helm/[email protected]
Expand Down

0 comments on commit c0be2b5

Please sign in to comment.