nearform-actions/Check linked issues
Check if pull requests have their corresponding issues.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| github-token | Your Github token, it's already available to your Github action. | no | ${{ github.token }} |
| exclude-branches | A comma-separated list of patterns to ignore source branches. (Any pattern supported by `minimatch`) | no | "" |
| exclude-labels | A comma-separated list of labels to ignore. | no | "" |
| comment | A boolean value that allow the action to create a comment | no | true |
| custom-body-comment | Custom body PR comment | no | No linked issues found. Please add the corresponding issues in the pull request description. <br/> [Use GitHub automation to close the issue when a PR is merged](https://docs.github.com/en/issues/tracking-your-work-with-issues/linking-a-pull-request-to-an-issue#linking-a-pull-request-to-an-issue-using-a-keyword) |
| loose-matching | A boolean value that allow PR to link issues on any branch | no | false |
| skip-linked-issues-check-label | A label that causes the action to execute but skip the actual linked issues check. If the check is skipped, the `check_skipped` output is set to `true`. Any present comments added by this action are also deleted. Useful when incorporating this action into multi-action workflows. | no | no-issue |
Outputs
| name | description |
|---|---|
| linked_issues_count | The total number of issues linked to your pull request. |
| issues | A stringified array containing the numbers of the linked issues, of the form ["some/repo#123", "another/repository#456"] |
| check_skipped | Set to true if the linked issues check is skipped. |