Update and rename main.yml to jira-create.yml

This commit is contained in:
Marquis Kurt 2019-11-06 11:19:07 -05:00 committed by GitHub
parent 21a3e5e595
commit b16d4b6969
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 25 additions and 0 deletions

25
.github/workflows/jira-create.yml vendored Normal file
View File

@ -0,0 +1,25 @@
name: Create issue on Jira
on:
issues:
types: [opened]
jobs:
jira:
runs-on: ubuntu-latest
steps:
- name: Jira Login
uses: atlassian/gajira-login@v2.0.0
env:
JIRA_BASE_URL: hyperspacedev.atlassian.net
JIRA_USER_EMAIL: software@marquiskurt.net
JIRA_API_TOKEN: ${{ secrets.JIRA_TOKEN }}
- name: Jira Create issue
uses: atlassian/gajira-create@v2.0.0
with:
project: HD
issuetype: Task
summary: ${{ github.event.issue.title }}
description: ${{ github.event.issue.body }}