tkt-actions/Add an issue link
Use to add an issue link related to your pull requests.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| repo-token | A token of the repository. It can be passed with `{{ secrets.GITHUB_TOKEN }}`. | yes | — |
| branch-prefix | A prefix of the branch name for finding a related issue. Default: `issue-` | no | — |
| position | `top` or `bottom`. A position name of inserting issue link section. Default: `bottom` | no | bottom |
| header | A header of issue link section. Default: `# Related issue` | no | # Related issue |
| resolve | `true` or `false`. `true` to add "Resolve" prefix to an issue link. "Resolve" prefix close an related issue when the branch is merged. Default: `true` | no | false |
| resolve-word | A word for "Resolve" prefix. Default: `Resolve` | no | Resolve |
| repository | Repository name for using an other repository. (e.g. "tkt-actions/issue-links") | no | — |
| link-style | `body` or `comment`. `body` add an issue link by editing Pull Request body. `comment` add an issue link by creating comment to Pull Request. Default: `body` | no | body |
| assign-pr-creator-to-issue | `true` or `false`. `true` to automatically assign the pull request creator to the related issue. Default: `false` | no | false |
Outputs
no outputs