DangerSwiftJira

master

A Danger-Swift plugin to link JIRA issues in a pull request - Supports GitLab and GitHub. Inspired by RestlessThinker/danger-jira.
AppDifferentia/danger-swift-jira

danger-swift-jira

License

A Danger-Swift plugin for that links JIRA issues to pull requests for both GitHub and GitLab. Inspired by RestlessThinker/danger-jira

Installation

Add DangerSwiftJira to your Package.swift

.package(url: "https://github.com/AppDifferentia/danger-swift-jira", from: "0.0.1")

Usage

Add to your Dangerfile.swift

import Danger
import DangerSwiftJira

let danger = Danger()

// ...

let jira = DangerSwiftJira(danger: danger)
jira.check(
        keys: ["KEY", "PM"],
        url: URL(string: "https://myjira.atlassian.net/browse")!,
        emoji: ":link:",
        shouldSearchTitle: true,
        shouldSearchCommits: false,
        failOnWarning: false,
        reportMissing: true,
        skippable: true
    )

Skipping

You can skip danger checking for a JIRA issue by having [no-jira] in your title or PR body.

License

MIT

Description

  • Swift Tools 5.4.0
View More Packages from this Author

Dependencies

Last updated: Mon Oct 21 2024 19:49:06 GMT-0900 (Hawaii-Aleutian Daylight Time)