Skip to content

Commit a558619

Browse files
committed
Testing new workflow
1 parent ad05110 commit a558619

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

.github/workflows/configlet-sync.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
name: Configlet Auto Sync
22

33
on:
4-
workflow_dispatch:
54
workflow_call:
5+
workflow_dispatch:
66

77
jobs:
88
sync-docs-metadata:
@@ -54,7 +54,7 @@ jobs:
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

0 commit comments

Comments
 (0)