Skip to content

Commit

Permalink
Merge pull request #1576 from ministryofjustice/EL-1726-gajira-part-4
Browse files Browse the repository at this point in the history
EL-1726: Gajira part 4
  • Loading branch information
MazOneTwoOne authored Oct 4, 2024
2 parents 8299cb2 + 7ed36fa commit bf16568
Showing 1 changed file with 8 additions and 11 deletions.
19 changes: 8 additions & 11 deletions .github/workflows/gajira.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,20 +18,17 @@ jobs:
JIRA_USER_EMAIL: ${{ secrets.JIRA_USER_EMAIL }}
JIRA_API_TOKEN: ${{ secrets.JIRA_API_TOKEN }}

- name: Process PR data
id: process_pr_data
run: |
repo_name=$(echo "$GITHUB_REPOSITORY" | cut -d'/' -f2 | sed 's/ *(.*)//')
pr_body="${{ github.event.pull_request.body }}"
echo "repo_name=$repo_name" >> $GITHUB_ENV
echo "pr_body=$pr_body" >> $GITHUB_ENV
- name: Create Jira ticket
id: create
uses: atlassian/gajira-create@master
with:
project: EL
issuetype: Task
summary: "Dependabot: - ${{ env.repo_name }} - ${{ github.event.pull_request.title }}"
description: ${{ env.pr_body }}
summary: |
Dependabot: - PR# ${{github.event.number}}, ${{ github.event.pull_request.title }}
description: |
Repo link: https://github.com/${{ github.repository }}
PR no. ${{ github.event.pull_request.number }}
PR title: ${{ github.event.pull_request.title }}
PR description: ${{ github.event.pull_request.body }}
In addition, please resolve other issues, if any.

0 comments on commit bf16568

Please sign in to comment.