Skip to content

Commit d272fc8

Browse files
committed
Testing new workflow
1 parent 68a5780 commit d272fc8

1 file changed

Lines changed: 2 additions & 7 deletions

File tree

.github/workflows/configlet-sync.yml

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

33
on:
4-
workflow_dispatch:
5-
schedule:
6-
- cron: '0 0 15 * *'
4+
workflow_call:
75

86
jobs:
97
sync-docs-metadata:
@@ -51,15 +49,12 @@ jobs:
5149

5250
- name: Run configlet sync for test and capture output
5351
id: sync_test
52+
shell: bash {0}
5453
run: |
55-
set +e
5654
configlet_raw_output="$(./bin/configlet sync --tests 2>&1)"
5755
exit_code=$?
58-
set -e
59-
6056
echo "exit_code=$exit_code" >> "$GITHUB_OUTPUT"
6157
printf "output<<EOF\n%s\nEOF\n" "$configlet_raw_output" >> "$GITHUB_OUTPUT"
62-
6358
printf "configlet output:\n%s\n" "$configlet_raw_output"
6459
6560
- name: Format test sync output and find existing issue

0 commit comments

Comments
 (0)