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).
This commit is contained in:
Angus Gratton 2019-03-14 13:05:50 +11:00 committed by Angus Gratton
parent 31ca6e399b
commit d0739861e8
1 changed files with 6 additions and 1 deletions

View 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"]