Skip to content

Latest commit

 

History

History
22 lines (17 loc) · 508 Bytes

README.md

File metadata and controls

22 lines (17 loc) · 508 Bytes

Uses the branch name to identify the JIRA ticket and adds a link to the ticket in the PR as a comment.

Configuration

Filename: .github/workflows/jira_assignment.yml

Example config:

name: 'Jira Ticket Assignment'
on: pull_request

jobs:
  add-jira-ticket:
    runs-on: ubuntu-latest
    steps:
      - uses: smasala/[email protected]
        with:
          repo-token: "${{ secrets.GITHUB_TOKEN }}"
          jira-url: https://my.jira-server.com
          project-prefix: MYPROJ