aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Hashizume <michael.hashizume@puppet.com>2023-12-01 11:24:32 -0800
committerMichael Hashizume <michael.hashizume@puppet.com>2023-12-01 11:24:32 -0800
commit23db8db9914e9f422d1fccb8acca6e9f5b09c70c (patch)
tree19a15c35d7db04cf876fe880e41a369bc59355db
parent71934d5c4ddbc45aa9614c5d8564da92046f536b (diff)
downloadpuppet-hosts_core-23db8db9914e9f422d1fccb8acca6e9f5b09c70c.tar.gz
puppet-hosts_core-23db8db9914e9f422d1fccb8acca6e9f5b09c70c.tar.bz2
(PA-5395) Add Jira workflow
This commit adds a GitHub Actions workflow to export issues from GitHub into Jira.
-rw-r--r--.github/workflows/jira.yml19
1 files changed, 19 insertions, 0 deletions
diff --git a/.github/workflows/jira.yml b/.github/workflows/jira.yml
new file mode 100644
index 0000000..a0d49d6
--- /dev/null
+++ b/.github/workflows/jira.yml
@@ -0,0 +1,19 @@
+---
+name: Export issue to Jira
+
+on:
+ issues:
+ types: [labeled]
+
+permissions:
+ issues: write
+
+jobs:
+ export:
+ uses: "puppetlabs/phoenix-github-actions/.github/workflows/jira.yml@main"
+ with:
+ jira-project: PA
+ jira-base-url: ${{ vars.jira_base_url }}
+ jira-user-email: ${{ vars.jira_user_email }}
+ secrets:
+ jira-api-token: ${{ secrets.JIRA_ISSUES_ACTION }}