From c23d6a17cc72d51aa0b4bb35805e46e5a4da45e4 Mon Sep 17 00:00:00 2001 From: David Wertenteil Date: Sun, 23 Apr 2023 11:45:46 +0300 Subject: [PATCH 1/2] wip: update fix command example Signed-off-by: David Wertenteil --- cmd/fix/fix.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/fix/fix.go b/cmd/fix/fix.go index d3e35fad..0c91dbac 100644 --- a/cmd/fix/fix.go +++ b/cmd/fix/fix.go @@ -17,7 +17,7 @@ var fixCmdExamples = fmt.Sprintf(` Use with caution, this command will change your files in-place. # Fix kubernetes YAML manifest files based on a scan command output (output.json) - 1) %[1]s scan --format json --format-version v2 --output output.json + 1) %[1]s scan . --format json --output output.json 2) %[1]s fix output.json `, cautils.ExecName()) From c0530b4f88f74c053672f685f096ed00d436dcc9 Mon Sep 17 00:00:00 2001 From: David Wertenteil Date: Sun, 23 Apr 2023 11:47:54 +0300 Subject: [PATCH 2/2] wip: fixed github actions Signed-off-by: David Wertenteil --- .github/actions/tag-action/action.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/tag-action/action.yaml b/.github/actions/tag-action/action.yaml index a7d001c6..2923a37a 100644 --- a/.github/actions/tag-action/action.yaml +++ b/.github/actions/tag-action/action.yaml @@ -20,7 +20,7 @@ runs: if [[ -z "${{ inputs.ORIGINAL_TAG }}" ]]; then echo "The value of ORIGINAL_TAG is ${{ inputs.ORIGINAL_TAG }}" echo "Setting the value of ORIGINAL_TAG to ${{ github.ref_name }}" - echo ORIGINAL_TAG=${{ github.ref_name }}" >> $GITHUB_ENV + echo ORIGINAL_TAG="${{ github.ref_name }}" >> $GITHUB_ENV fi shell: bash