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 3d069b2

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

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.