Skip to content

dimvic/action-jira-integration

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

For options see action.yml

name: Jira integration
on:
  pull_request:
    types: [ opened, edited, synchronize, reopened ]

jobs:

  jira_integration:
    name: JIRA integration
    runs-on: ubuntu-latest
    steps:
      - name: JIRA integration
        uses: dimvic/action-jira-integration@v1
        with:
          github-token: ${{ secrets.GITHUB_TOKEN }}
          jira-username: ${{ secrets.JIRA_USERNAME }}
          jira-token: ${{ secrets.JIRA_TOKEN }}
          jira-base-url: https://unhgr.atlassian.net
          jira-project-key-regexp: 'UNH'
          pr-enforce-issue-exists: 'true'
          pr-enforce-issue-type-regexp: '^epic$'
          pr-update-title: 'true'
          pr-update-description: 'true'
          pr-issue-code-regexp: '^\[(\w+[_-]\d+)\]'
          pr-skip-base-ref-regexp: '^deploy/'
          pr-skip-head-ref-regexp: ''
          pr-skip-user-regexp: '^dimvic$'

TODO

  • Automatically create PR on push if branch name includes Jira issue code and no PR exists
  • Enforce inclusion of valid JIRA issue of type "task" (or regexp) in commit messages
  • Add comment to Jira when PR is opened or merged (SO)
  • Add label to Jira when PR is opened or merged
  • Issue status transitions
  • Return issue code in outputs

Heavily inspired by cakeinpanic/jira-description-action

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published