File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
packages/replay/metrics/src/util Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -791,6 +791,8 @@ jobs:
791791 id : process
792792 run : yarn ci:process
793793 working-directory : packages/replay/metrics
794+ # Don't run on forks - the PR comment cannot be added.
795+ if : github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository
794796 env :
795797 GITHUB_TOKEN : ${{ github.token }}
796798
Original file line number Diff line number Diff line change @@ -98,7 +98,7 @@ async function tryAddOrUpdateComment(commentBuilder: PrCommentBuilder): Promise<
9898 body : commentBuilder . body ,
9999 } ) ;
100100 } else {
101- console . log ( `Adding new PR comment to PR ${ prNumber } ` )
101+ console . log ( `Adding a new comment to PR ${ prNumber } ` )
102102 await octokit . rest . issues . createComment ( {
103103 ...defaultArgs ,
104104 issue_number : prNumber ,
You can’t perform that action at this time.
0 commit comments