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:
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- ./bin/configlet sync --tests | tee .github/auto-sync/sync-test-output.txt
3635 echo "output<<EOF" >> $GITHUB_OUTPUT
37- cat .github/auto-sync/ sync-test-output.txt >> $GITHUB_OUTPUT
36+ ./bin/configlet sync --tests >> $GITHUB_OUTPUT
3837 echo "EOF" >> $GITHUB_OUTPUT
3938
4039 - name : Create issue if tests are not synced
4140 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
4342 with :
4443 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