aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Hashizume <michael.hashizume@puppet.com>2023-12-01 11:30:25 -0800
committerMichael Hashizume <michael.hashizume@puppet.com>2023-12-01 11:30:25 -0800
commit7aad551adff7bf34b85db3683f64d25b33963db8 (patch)
treea94ea0836812526925b2ec835b7e5c639b6e90b3
parent4f005ab0b41efecd34df499ef86b77a705418bf0 (diff)
downloadpuppet-sshkeys_core-7aad551adff7bf34b85db3683f64d25b33963db8.tar.gz
puppet-sshkeys_core-7aad551adff7bf34b85db3683f64d25b33963db8.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 }}