danger-plugin-rally
TypeScript icon, indicating that this package has built-in type declarations

1.4.0 • Public • Published

danger-plugin-rally

Build Status npm version semantic-release code style: prettier

Tools for linking Rally stories to pull requests

Usage

Install:

npm install --save-dev danger-plugin-rally

At a glance:

// dangerfile.js
import rally from 'danger-plugin-rally';

// Defaults
const config = {
  requirePound: false,
  bodyOnly: false,
  domain: 'https://rally1.rallydev.com',
};

rally(config);

This plugin:

  • Provides links to stories, tasks, and defects mentioned in commit messages, PR title, and PR description.
  • Warns if no stories, tasks, or defects are found
  • Works with GitHub and BitBucket Server

API

rally([options])

options

requirePound

Type: Boolean

Default: false

Fails if story, task, or defect numbers are not prefixed with # in the commit body. This useful if you are generating ticket links with standard-version or semantic-release

bodyOnly

Type: Boolean

Default: false

Fails if story, task, or defect numbers mentioned in the commit header, rather than the body.

domain

Type: String

Default: 'https://rally1.rallydev.com'

Hostname for your rally instance

Changelog

See the GitHub release history.

Contributing

See CONTRIBUTING.md.

Package Sidebar

Install

npm i danger-plugin-rally

Weekly Downloads

2

Version

1.4.0

License

MIT

Unpacked Size

11 kB

Total Files

7

Last publish

Collaborators

  • bearalliance