Skip to content

Commit 9dc4581

Browse files
committed
fix(manage-merge-queue): use github actor for profile link
1 parent e3367d0 commit 9dc4581

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

dist/284.index.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.

dist/284.index.js.map

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

src/helpers/manage-merge-queue.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ export const manageMergeQueue = async ({
7070
if (!email) {
7171
const patternText = pattern ? ` and must match the regex pattern \`${pattern}\`` : '';
7272
await createPrComment({
73-
body: `@${login} Your PR cannot be added to the queue because your email must be set on your [GitHub profile](${join(context.serverUrl, login)})${patternText}. Follow the instructions [here](${githubEmailDocsLink}) to add or fix your email!`
73+
body: `@${login} Your PR cannot be added to the queue because your email must be set on your [GitHub profile](${join(context.serverUrl, context.actor)})${patternText}. Follow the instructions [here](${githubEmailDocsLink}) to add or fix your email!`
7474
});
7575
return removePrFromQueue(pullRequest);
7676
}

0 commit comments

Comments
 (0)