Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 77c8747

Browse filesBrowse files
committed
Fix typo from actions#117
I accidentally removed two lines I did not intend to. This would only break for PRs opened on the repo directly.
1 parent e86864d commit 77c8747
Copy full SHA for 77c8747

File tree

1 file changed

+4
-0
lines changed
Filter options

1 file changed

+4
-0
lines changed

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

Copy file name to clipboardExpand all lines: .github/workflows/pull-request-test.yml
+4Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.