Skip to content

Commit 3d069b2

Browse files
authored
Merge pull request actions#121 from robyoung/fix-previous-broken-pr
Fix typo from actions#117
2 parents e86864d + 77c8747 commit 3d069b2

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/pull-request-test.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@ jobs:
2020
issue_number: context.payload.number,
2121
})
2222
23+
// Find any comment already made by the bot.
24+
const botComment = comments.find(comment => comment.user.id === 41898282)
25+
const commentBody = "Hello from actions/github-script! (${{ github.sha }})"
26+
2327
if (context.payload.pull_request.head.repo.full_name !== 'actions/github-script') {
2428
console.log('Not attempting to write comment on PR from fork');
2529
} else {

0 commit comments

Comments
 (0)