Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: helm/chart-testing-action
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v2.2.0
Choose a base ref
...
head repository: helm/chart-testing-action
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v2.2.1
Choose a head ref
  • 2 commits
  • 3 files changed
  • 2 contributors

Commits on Mar 14, 2022

  1. fix: target main branch by default in the example (#75)

    Fixes #69
    
    Signed-off-by: Hervé Le Meur <hlemeur@cloudbees.com>
    lemeurherve authored Mar 14, 2022
    Copy the full SHA
    3307a28 View commit details
  2. update CT to use release v3.5.1 (#80)

    Signed-off-by: cpanato <ctadeu@gmail.com>
    cpanato authored Mar 14, 2022

    Verified

    This commit was signed with the committer’s verified signature.
    gustavste Gustav
    Copy the full SHA
    dae259e View commit details
Showing with 7 additions and 6 deletions.
  1. +3 −3 README.md
  2. +3 −2 action.yml
  3. +1 −1 ct.sh
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -42,19 +42,19 @@ jobs:
- name: Set up Helm
uses: azure/setup-helm@v1
with:
version: v3.7.2
version: v3.8.1

- uses: actions/setup-python@v2
with:
python-version: 3.7

- name: Set up chart-testing
uses: helm/chart-testing-action@v2.2.0
uses: helm/chart-testing-action@v2.2.1

- name: Run chart-testing (list-changed)
id: list-changed
run: |
changed=$(ct list-changed)
changed=$(ct list-changed --targer-branch main)
if [[ -n "$changed" ]]; then
echo "::set-output name=changed::true"
fi
5 changes: 3 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
@@ -6,8 +6,9 @@ branding:
icon: anchor
inputs:
version:
description: "The chart-testing version to install (default: v3.5.0)"
default: v3.5.0
description: "The chart-testing version to install (default: v3.5.1)"
required: false
default: v3.5.1
runs:
using: composite
steps:
2 changes: 1 addition & 1 deletion ct.sh
Original file line number Diff line number Diff line change
@@ -4,7 +4,7 @@ set -o errexit
set -o nounset
set -o pipefail

DEFAULT_CHART_TESTING_VERSION=v3.5.0
DEFAULT_CHART_TESTING_VERSION=v3.5.1

show_help() {
cat << EOF