]> granicus.if.org Git - esp-idf/commitdiff
github: Sync PRs to JIRA as well
authorAngus Gratton <angus@espressif.com>
Thu, 14 Mar 2019 02:05:50 +0000 (13:05 +1100)
committerAngus Gratton <gus@projectgus.com>
Thu, 14 Mar 2019 03:29:46 +0000 (14:29 +1100)
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

index 12e566f5d3b88bf59068e020bd32262541458387..d23b686c5cb89f0a07e77b9fde13d875d6b4c03e 100644 (file)
@@ -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"]