actions-marketplace-validations/Link issue
Link a pull-request to an external issue getting id from branch name, PR title or commit message
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| sources | A list of locations where issue id should be taken from. Possible values: branch, title, commit. | no | branch title commit |
| issue-pattern | A regex to match and extract issue id. For example, use "[A-Z][A-Z]+-\d+" for JIRA issues or "#(\d+)" for Redmine issues. | yes | — |
| link-template | Link template to paste id or its part into. You should use regex groups here. Example: "https://example.com/browse/issues/$0" | yes | — |
| link-name-template | Template for link name | no | $0 |
| link-preamble | Text before list of links | no | Related issues: |
| link-location | Location to paste link to. Possible values: start, end. | no | end |
| token | The GitHub authentication token | yes | ${{ github.token }} |
Outputs
no outputs