From e3e61d615165056fb656801cb06992177a10302b Mon Sep 17 00:00:00 2001 From: Megan Davidson Date: Tue, 19 Sep 2023 12:48:36 +1200 Subject: [PATCH] WIP spaces --- .github/workflows/test-publish.yaml | 4 ++-- workflows/README.md | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test-publish.yaml b/.github/workflows/test-publish.yaml index 4461df006..6939b168a 100644 --- a/.github/workflows/test-publish.yaml +++ b/.github/workflows/test-publish.yaml @@ -36,9 +36,9 @@ jobs: - name: Submit workflow(s) run: | for file in ${{ steps.changed-files.outputs.changed_files }}; do - if [["$file"=="*.yaml"]]; then + if [[ "$file" == "*.yaml" ]]; then echo $file - if [["$file"==*"argo-submits"*]]; then + if [[ "$file" == *"argo-submits"* ]]; then echo $file # ./argo-linux-amd64 submit --from wftmpl/publish-copy -n argo -f $file --generate-name test-mdavidson-gh-action- fi diff --git a/workflows/README.md b/workflows/README.md index c1c8a2a38..5a8d70151 100644 --- a/workflows/README.md +++ b/workflows/README.md @@ -4,4 +4,4 @@ While using [sprig function](http://masterminds.github.io/sprig/) on a task or workflow parameter that contains a `-`, the parameter has to be passed with `[]` to be correctly parsed: `workflow.parameters.my-param` -> `workflow.parameters['my-param']` -test +