File tree Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Create JIRA ISSUE
2+ on :
3+ pull_request :
4+ types : [opened]
5+ jobs :
6+ security :
7+ if : ${{ github.actor == 'dependabot[bot]' || github.actor == 'snyk-bot' || contains(github.event.pull_request.head.ref, 'snyk-fix-') || contains(github.event.pull_request.head.ref, 'snyk-upgrade-')}}
8+ runs-on : ubuntu-latest
9+ steps :
10+ - uses : actions/checkout@v2
11+ - name : Login into JIRA
12+ uses : atlassian/gajira-login@master
13+ env :
14+ JIRA_BASE_URL : ${{ secrets.JIRA_BASE_URL }}
15+ JIRA_USER_EMAIL : ${{ secrets.JIRA_USER_EMAIL }}
16+ JIRA_API_TOKEN : ${{ secrets.JIRA_API_TOKEN }}
17+ - name : Create a JIRA Issue
18+ id : create
19+ uses : atlassian/gajira-create@master
20+ with :
21+ project : ${{ secrets.JIRA_PROJECT }}
22+ issuetype : ${{ secrets.JIRA_ISSUE_TYPE }}
23+ summary : |
24+ ${{ github.event.pull_request.title }}
25+ description : |
26+ PR: ${{ github.event.pull_request.html_url }}
27+
28+ ${{ github.event.pull_request.body }}
29+ fields : " ${{ secrets.JIRA_FIELDS }}"
You can’t perform that action at this time.
0 commit comments