From d0739861e84f96cef3abfc32e5472c4f1291986b Mon Sep 17 00:00:00 2001 From: Angus Gratton Date: Thu, 14 Mar 2019 13:05:50 +1100 Subject: [PATCH] github: Sync PRs to JIRA as well Currently the GitHub sync half-syncs these (as it will create a JIRA issue as soon as the first comment is made on the PR). --- .github/main.workflow | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/main.workflow b/.github/main.workflow index 12e566f5d3..d23b686c5c 100644 --- a/.github/main.workflow +++ b/.github/main.workflow @@ -3,11 +3,16 @@ workflow "Sync issues to JIRA" { resolves = ["Sync to JIRA"] } -workflow "Sync issue comments to JIRA" { +workflow "Sync issue and PR comments to JIRA" { on = "issue_comment" resolves = ["Sync to JIRA"] } +workflow "Sync PRs to JIRA" { + on = "pull_request" + resolves = ["Sync to JIRA"] +} + action "Sync to JIRA" { uses = "espressif/github-actions/sync_issues_to_jira@master" secrets = ["GITHUB_TOKEN", "JIRA_URL", "JIRA_USER", "JIRA_PASS"]