]> granicus.if.org Git - esp-idf/commitdiff
github: Add workflow file to sync issues to JIRA
authorAngus Gratton <angus@espressif.com>
Fri, 8 Mar 2019 07:39:00 +0000 (18:39 +1100)
committerAngus Gratton <gus@projectgus.com>
Fri, 8 Mar 2019 07:39:30 +0000 (18:39 +1100)
.github/main.workflow [new file with mode: 0644]

diff --git a/.github/main.workflow b/.github/main.workflow
new file mode 100644 (file)
index 0000000..12e566f
--- /dev/null
@@ -0,0 +1,17 @@
+workflow "Sync issues to JIRA" {
+  on = "issues"
+  resolves = ["Sync to JIRA"]
+}
+
+workflow "Sync issue comments to JIRA" {
+  on = "issue_comment"
+  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 = "IDFGH"
+  }
+}