From 44c6318cdab0b919af41275a8c0c965968c9bff1 Mon Sep 17 00:00:00 2001 From: Marco Lecheler Date: Fri, 6 Jan 2023 15:23:12 +0100 Subject: [PATCH 1/3] docs: use GITHUB_OUTPUT than set-output see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/ Signed-off-by: Marco Lecheler --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 788d667..f563c6d 100644 --- a/README.md +++ b/README.md @@ -59,7 +59,7 @@ jobs: run: | changed=$(ct list-changed --target-branch ${{ github.event.repository.default_branch }}) if [[ -n "$changed" ]]; then - echo "::set-output name=changed::true" + echo "changed=true" >> $GITHUB_OUTPUT fi - name: Run chart-testing (lint) From fdc473dcd429b68587e93eb444b83783f6d8dc50 Mon Sep 17 00:00:00 2001 From: Marco Lecheler Date: Fri, 6 Jan 2023 15:24:13 +0100 Subject: [PATCH 2/3] docs: use actions/checkout@v3 Update example workflow to use latest version of checkout Signed-off-by: Marco Lecheler --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index f563c6d..48cba88 100644 --- a/README.md +++ b/README.md @@ -37,7 +37,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: fetch-depth: 0 From ed097fb7be2b780bf3d4689f6755d625e8820c3f Mon Sep 17 00:00:00 2001 From: Marco Lecheler Date: Fri, 24 Mar 2023 11:41:29 +0100 Subject: [PATCH 3/3] fix: add quotes to GITHUB_OUTPUT Co-authored-by: Carlos Tadeu Panato Junior Signed-off-by: Marco Lecheler --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 48cba88..d92c6f5 100644 --- a/README.md +++ b/README.md @@ -59,7 +59,7 @@ jobs: run: | changed=$(ct list-changed --target-branch ${{ github.event.repository.default_branch }}) if [[ -n "$changed" ]]; then - echo "changed=true" >> $GITHUB_OUTPUT + echo "changed=true" >> "$GITHUB_OUTPUT" fi - name: Run chart-testing (lint)