Skip to content

Commit

Permalink
- add gajira github work flow
Browse files Browse the repository at this point in the history
  • Loading branch information
MazOneTwoOne committed Oct 9, 2024
1 parent d93ec27 commit f500355
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/gajira.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,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.

0 comments on commit f500355

Please sign in to comment.