From ca6186e79b932de090e0a62353a11d59f2def4d0 Mon Sep 17 00:00:00 2001 From: Sutou Kouhei Date: Mon, 4 Nov 2019 08:13:40 +0900 Subject: [PATCH] ARROW-6942: [Developer] Add support for Parquet in pull request check by GitHub Actions --- .github/workflows/pull_request/jira_link.js | 2 +- .github/workflows/pull_request/title_check.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pull_request/jira_link.js b/.github/workflows/pull_request/jira_link.js index c32a08453ef..a9b502a303b 100644 --- a/.github/workflows/pull_request/jira_link.js +++ b/.github/workflows/pull_request/jira_link.js @@ -21,7 +21,7 @@ function detectJIRAID(title) { if (!title) { return null; } - const matched = /^ARROW-\d+/.exec(title); + const matched = /^(ARROW|PARQUET)-\d+/.exec(title); if (!matched) { return null; } diff --git a/.github/workflows/pull_request/title_check.js b/.github/workflows/pull_request/title_check.js index 23e488958e5..e33b1bfeac0 100644 --- a/.github/workflows/pull_request/title_check.js +++ b/.github/workflows/pull_request/title_check.js @@ -25,7 +25,7 @@ function haveJIRAID(title) { if (!title) { return false; } - return /^ARROW-\d+/.test(title); + return /^(ARROW|PARQUET)-\d+/.test(title); } async function commentOpenJIRAIssue(pullRequestNumber) {