|
|
|
|
@ -1,6 +1,6 @@
|
|
|
|
|
# This is a basic workflow to help you get started with Actions
|
|
|
|
|
|
|
|
|
|
name: CI
|
|
|
|
|
name: JIRA Sync
|
|
|
|
|
|
|
|
|
|
# Runs when an issue is opened or reopened.
|
|
|
|
|
on:
|
|
|
|
|
@ -16,7 +16,14 @@ jobs:
|
|
|
|
|
|
|
|
|
|
# Steps represent a sequence of tasks that will be executed as part of the job
|
|
|
|
|
steps:
|
|
|
|
|
# Create an issue
|
|
|
|
|
# Login to Jira
|
|
|
|
|
- name: Login to Jira
|
|
|
|
|
uses: atlassian/gajira-login@master
|
|
|
|
|
env:
|
|
|
|
|
JIRA_BASE_URL: ${{ secrets.JIRA_BASE_URL }}
|
|
|
|
|
JIRA_USER_EMAIL: ${{ secrets.JIRA_USER_EMAIL }}
|
|
|
|
|
JIRA_API_TOKEN: ${{ secrets.JIRA_API_TOKEN }}
|
|
|
|
|
# Create an issue
|
|
|
|
|
- name: Jira Create issue
|
|
|
|
|
uses: atlassian/gajira-create@v2.0.0
|
|
|
|
|
with:
|
|
|
|
|
|