From bfb6ad86d49247712ef643b38c996a360b20d6ab Mon Sep 17 00:00:00 2001 From: dongheng Date: Fri, 29 Mar 2019 15:01:01 +0800 Subject: [PATCH] chore(jira): Sync issues from github to JIRA --- .github/main.workflow | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/main.workflow diff --git a/.github/main.workflow b/.github/main.workflow new file mode 100644 index 00000000..a3d6fb6a --- /dev/null +++ b/.github/main.workflow @@ -0,0 +1,22 @@ +workflow "Sync issues to JIRA" { + on = "issues" + resolves = ["Sync 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"] + env = { + JIRA_PROJECT = "GIT8266O" + } +}