Skip to content

Commit

Permalink
Merge pull request #1 from elastic/remove-global-backport-comment
Browse files Browse the repository at this point in the history
Remove global backport instruction from comment
  • Loading branch information
brianseeders authored Feb 16, 2021
2 parents c814e81 + 55b758c commit e795950
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 10 deletions.
2 changes: 0 additions & 2 deletions backport/createStatusComment.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 2 additions & 6 deletions backport/createStatusComment.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,7 @@ Successful backport PRs will be merged automatically after passing CI.`,
Successful backport PRs will be merged automatically after passing CI.
To backport manually, check out the target branch and run:
\`node scripts/backport --pr 1\`
or
\`backport --labels backport --pr 1\``,
\`node scripts/backport --pr 1\``,
);
});

Expand Down Expand Up @@ -86,9 +84,7 @@ or
❌ 7.10: There was a merge conflict
To backport manually, check out the target branch and run:
\`node scripts/backport --pr 1\`
or
\`backport --labels backport --pr 1\``,
\`node scripts/backport --pr 1\``,
);
});
});
Expand Down
2 changes: 0 additions & 2 deletions backport/createStatusComment.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,6 @@ export const getCommentFromResponse = (pullNumber: number, backportResponse: Bac
[
'To backport manually, check out the target branch and run:',
`\`node scripts/backport --pr ${pullNumber}\``,
'or',
`\`backport --labels backport --pr ${pullNumber}\``,
].join('\n'),
);
}
Expand Down

0 comments on commit e795950

Please sign in to comment.