Skip to content
This repository was archived by the owner on Nov 14, 2025. It is now read-only.

Commit a00357c

Browse files
authored
Update fork PR notification to include docs link (#337)
1 parent 5eeaff4 commit a00357c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

code-review-chat/CodeReviewChat.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

code-review-chat/CodeReviewChat.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,7 @@ export class CodeReviewChat extends Chatter {
364364
owner: this.options.payload.owner,
365365
repo: this.options.payload.repo,
366366
issue_number: this.pullRequestNumber,
367-
body: 'This PR originates from a fork. If the changes appear safe, you can trigger the pipeline by commenting `/AzurePipelines run`.',
367+
body: '⚠️ This PR originates from a fork. Due to security restrictions, pipelines from forks are no longer triggered automatically. [Learn more](https://learn.microsoft.com/en-us/azure/devops/pipelines/repos/github?view=azure-devops&tabs=yaml#comment-triggers).\n\nIf the changes appear safe, you can manually trigger the pipeline by commenting `/AzurePipelines run`.',
368368
});
369369
})(),
370370
);

0 commit comments

Comments
 (0)