-
Notifications
You must be signed in to change notification settings - Fork 3
33 lines (28 loc) · 1018 Bytes
/
gajira.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
name: Raise Dependabot Jira Issue
on:
pull_request:
types: [opened]
jobs:
gajira:
name: Raise Jira Issue
runs-on: ubuntu-latest
if: ${{ contains(github.event.pull_request.labels.*.name, 'dependencies') }}
steps:
- name: Login
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 }}
- name: Create Jira ticket
id: create
uses: atlassian/gajira-create@master
with:
project: EL
issuetype: Task
summary: |
FALA Dependabot: ${{ github.event.pull_request.title }}, GitHub PR#${{github.event.number}}
description: |
Please view the PR for further information.
PR link: https://github.com/${{ github.repository }}/pull/${{ github.event.pull_request.number }}
In addition, please resolve other issues, if any.