Skip to content
anchor

GitHub Action

Ticket link appender

v1.16 Latest version

Ticket link appender

anchor

Ticket link appender

Appends ticket link in description

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Ticket link appender

uses: sbimochan/ticket-link-appender@v1.16

Learn more about this action in sbimochan/ticket-link-appender

Choose a version

Ticket Link Appender

This action automatically updates your pull request by heuristically searching ticket link from your Jira or other project tracking software and appends on your pull request.

This tool can be used with other project tracking tools like ClickUp as well. Let's explore together!

Settings

jira-project-url

Required Add your jira link in ticket link format. E.g: https://jira.atlassian.net/browse

ticket-regex-title

Optional You can add custom regex if your PR description seems to be different but I encourage to have same standard world wide.

PR summary example:

XYZ-1234: This is an amazing feature

Outputs

Appends ticket link in your PR description:

Jira Link: https://jira.atlassian.net/browse/JPT-1571

Example usage

GITHUB_TOKEN will automatically be there.

uses: sbimochan/ticket-link-appender@v1.16
  with:
    jira-project-url: https://jira.atlassian.net/browse
    GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Full example

on: pull_request

jobs:
  example_pr_link:
    runs-on: ubuntu-latest
    name: Auto ticket link appender
    steps:
      - name: Checkout
        uses: actions/checkout@v1

      - name: Append ticket link
        uses: sbimochan/ticket-link-appender@v1.16

        with:
          jira-project-url: https://jira.atlassian.net/browse
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Recommendations:

Smart Commit

This makes your commits and PR summary consistent.

Check repo.