Skip to content

Commit f8dc41e

Browse files
committed
Merge branch 'add-sync-workflow' of https://github.com/jagdish-15/java into add-sync-workflow
2 parents 527450f + ab56210 commit f8dc41e

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.github/workflows/configlet-sync.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,11 @@ jobs:
2929
branch: configlet-auto-sync
3030
delete-branch: true
3131

32-
- name: Run configlet sync for test and capture output
32+
- name: Run configlet sync for tests
3333
id: sync_test
3434
run: |
35-
mkdir -p .github/auto-sync
36-
output="$(./bin/configlet sync --tests | tee .github/auto-sync/sync-test-output.txt)"
3735
echo "output<<EOF" >> $GITHUB_OUTPUT
38-
echo "$output" >> $GITHUB_OUTPUT
36+
./bin/configlet sync --tests >> $GITHUB_OUTPUT
3937
echo "EOF" >> $GITHUB_OUTPUT
4038
4139
- name: Create issue if tests are not synced
@@ -45,3 +43,4 @@ jobs:
4543
token: ${{ secrets.GITHUB_TOKEN }}
4644
title: "🚨 configlet sync --test found unsynced tests"
4745
content-filepath: .github/auto-sync/sync-test-output.txt
46+

0 commit comments

Comments
 (0)