File tree Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -29,19 +29,18 @@ jobs:
29
29
branch : configlet-auto-sync
30
30
delete-branch : true
31
31
32
- - name : Run configlet sync for test and capture output
32
+ - name : Run configlet sync for tests
33
33
id : sync_test
34
34
run : |
35
- ./bin/configlet sync --tests | tee .github/auto-sync/sync-test-output.txt
36
35
echo "output<<EOF" >> $GITHUB_OUTPUT
37
- cat .github/auto-sync/ sync-test-output.txt >> $GITHUB_OUTPUT
36
+ ./bin/configlet sync --tests >> $GITHUB_OUTPUT
38
37
echo "EOF" >> $GITHUB_OUTPUT
39
38
40
39
- name : Create issue if tests are not synced
41
40
if : ${{ !contains(steps.sync_test.outputs.output, 'Every exercise has up-to-date tests!') }}
42
- uses : peter-evans/create-issue-from-file@v4
41
+ uses : peter-evans/create-issue@v5
43
42
with :
44
43
token : ${{ secrets.GITHUB_TOKEN }}
45
- title : " 🚨 configlet sync --test found unsynced tests"
46
- content-filepath : .github/auto-sync/sync-test-output.txt
47
- unique : true
44
+ title : " 🚨 configlet sync --tests found unsynced tests"
45
+ body : ${{ steps.sync_test.outputs.output }}
46
+ update-existing : true
You can’t perform that action at this time.
0 commit comments