Skip to content
/ issuer Public
generated from actions/javascript-action

GitHub Action for adding a link to issue on PR description from PR title

License

Notifications You must be signed in to change notification settings

zattoo/issuer

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Repository files navigation

Issuer

GitHub Action for adding a link to issue on PR description from PR title

Inputs

github_token

string

Required. GitHub Token from action context

host

string

Required. Issue tracking host URL

title

string

Optional. Default to ### Issuer

verify

boolean

Optional. Default to false, indicates weather the action should validate the PR title

ignore_label

string

Optional. Default to -issuer, if validate set to true, when label set, the action will skip verification

Verifier

The Action can also verify the Pull-request title:

  • It will check that the Title includes an issue
  • It will check that the structure of the title follow a proper format CODE-XXX [, CODE-XXX]: Title
  • It can be skipped by using the ignore_label

Usage Example

name: Issue tracking
jobs:
  issue-tracking:
    name: Issue tracking
    runs-on: ubuntu-latest
    steps:
      - uses: zattoo/issuer@v2
        with:
          github_token: ${{github.token}}
          host: 'https://atlassian.net/browse/'
          title: '### Tickets'
          verify: true,
          ignore_label: '-verify'

About

GitHub Action for adding a link to issue on PR description from PR title

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •