Skip to content

Commit 9e5c5b8

Browse files
committed
write to step summary instead of commenting
1 parent f77a662 commit 9e5c5b8

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

.github/workflows/list.yml

+1-8
Original file line numberDiff line numberDiff line change
@@ -41,14 +41,7 @@ jobs:
4141
- name: Comment Results on PR
4242
uses: actions/github-script@v6
4343
with:
44-
github-token: ${{secrets.GITHUB_TOKEN}}
4544
script: |
4645
const fs = require('fs');
4746
const kaniOutput = fs.readFileSync('${{github.workspace}}/head/kani_list.txt', 'utf8');
48-
49-
await github.rest.issues.createComment({
50-
issue_number: ${{ github.event.pull_request.number }},
51-
owner: context.repo.owner,
52-
repo: context.repo.repo,
53-
body: 'Kani List Results:\n```\n' + kaniOutput + '\n```'
54-
});
47+
kaniOutput >> "$GITHUB_STEP_SUMMARY"

0 commit comments

Comments
 (0)