File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11name : Configlet Auto Sync
22
33on :
4- workflow_dispatch :
54 workflow_call :
5+ workflow_dispatch :
66
77jobs :
88 sync-docs-metadata :
5454 run : |
5555 configlet_raw_output="$(./bin/configlet sync --tests)"
5656 exit_code=$?
57- echo "exit_code=$exit_code" >> "$GITHUB_OUTPUT"
57+ printf "exit_code=%d\n" " $exit_code" >> "$GITHUB_OUTPUT"
5858 printf "output<<EOF\n%s\nEOF\n" "$configlet_raw_output" >> "$GITHUB_OUTPUT"
5959 printf "configlet output:\n%s\n" "$configlet_raw_output"
6060
@@ -71,11 +71,11 @@ jobs:
7171
7272 if [[ -z "$ISSUE_DATA" ]]; then
7373 printf "No open issue found with title: '%s'. A new one will be created.\n" "${ISSUE_TITLE}"
74- echo "issue_number=" >> "$GITHUB_OUTPUT"
74+ printf "issue_number=\n " >> "$GITHUB_OUTPUT"
7575 else
7676 ISSUE_NUMBER=$(jq -r '.number' <<< "$ISSUE_DATA")
77- echo "Found existing issue number: $ISSUE_NUMBER for title: '$ ISSUE_TITLE' "
78- echo "issue_number=$ISSUE_NUMBER" >> "$GITHUB_OUTPUT"
77+ printf "Found existing issue number: %s for title: %s\n" "$ISSUE_NUMBER" "$ ISSUE_TITLE"
78+ printf "issue_number=%s\n" " $ISSUE_NUMBER" >> "$GITHUB_OUTPUT"
7979 fi
8080
8181 - name : Create or Update issue if tests are not synced
You can’t perform that action at this time.
0 commit comments