actions-marketplace-validations/find-linked-issues
Marketplace action for finding the linked issues of a pull request.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| token | The GitHub token to use for authentication. | yes | — |
| repository | The repository to use for searching issues. | yes | ${{ github.repository }} |
| pull-request-number | The pull request number. | yes | ${{ github.event.pull_request.number }} |
| pull-request-body | The pull request body. | yes | ${{ github.event.pull_request.body }} |
| copy-issues-labels | Copy the labels of the linked issues to the pull request. (optional) | no | false |
| include-closed-issues | Includes closed issues, when searching for linked issues. (optional) | no | false |
Outputs
| name | description |
|---|---|
| is-pull-request-linked-to-issues | Whether the pull request is linked to issues or not. |
| linked-issues | List of issues that are linked to the pull request, i.e. `[1, 2, 4, 82, 124]` |
| pull-request-labels | List of labels assigned to this pull request, i.e. `[bug, enhancement, ..]` |