RFR: 768: Skara bot should prevent attempt to use JBS backport issue ID in PR

Kevin Rushforth kcr at openjdk.java.net
Fri Nov 6 17:11:32 UTC 2020


On Thu, 5 Nov 2020 10:01:38 GMT, Robin Westberg <rwestberg at openjdk.org> wrote:

> Check that the issue type is of an allowed type.

bots/pr/src/main/java/org/openjdk/skara/bots/pr/CheckRun.java line 65:

> 63:     private static final String fullNameWarningMarker = "<!-- PullRequestBot full name warning comment -->";
> 64:     private static final Pattern BACKPORT_PATTERN = Pattern.compile("<!-- backport ([0-9a-z]{40}) -->");
> 65:     private final static Set<String> primaryTypes = Set.of("Bug", "New Feature", "Enhancement", "Task", "Sub-task");

��

-------------

PR: https://git.openjdk.java.net/skara/pull/944


More information about the skara-dev mailing list