Danger plugin to link JIRA issue in pull request
Install:
yarn add danger-plugin-jira-issue --dev
At a glance:
// dangerfile.js
import jiraIssue from 'danger-plugin-jira-issue'
jiraIssue({
key: 'JIRA',
url: 'https://myjira.atlassian.net/browse',
emoji: ':paperclip:',
})
With JIRA-123 in the PR title, Danger will comment with:
Messages | |
---|---|
📖 | 📎 JIRA-123 |
Generated by 🚫 dangerJS
See the documentation for detailed information.
See the GitHub release history.
Install Yarn, and install the dependencies - yarn install
.
Run the Jest test suite with yarn test
.
This project uses semantic-release for automated NPM package publishing.
The main caveat: instead of running git commit
, run yarn commit
and follow the prompts to input a conventional changelog message via commitizen.
❤️