{"repo":"hattan/verify-linked-issue-action","free":true,"listed":false,"github":"https://github.com/hattan/verify-linked-issue-action","clone":"git clone https://github.com/hattan/verify-linked-issue-action.git","description":"A GitHub action that verifies your pull request contains a reference to an issue.","language":"JavaScript","stars":23,"topics":["github-actions","action"],"license":"MIT","category":"workflow-automation","readme_excerpt":"Verify Linked Issue Action A GitHub action that verifies your pull request contains a reference to an issue. On a PR that does not include a linked issue or reference to an issue in the body, the check should fail and a comment will be added to the PR. Installation As a part of an existing workflow Pleasure ensure the following types on the pull request triggers: As a separate workflow Ensure you have the folder .github/workflows In .github/workflows, place the pr verify linked issue.yml workflow. Inputs (Optional) The action will add the following text to a PR when verification fails. 'Build Error! No Linked Issue found. Please link an issue or mention it in the body using # ' You can customize this message by providing an optional 'message' input with the string you would like to include as the comment. File Templates If you want a more complex message, consider using a static template file. (Support for dynamic templates will be coming soon!) There are two options when using template files: Option 1) Default File Path: Add a file to .github called VERIFY PR COMMENT TEMPLATE.md. The content of this file will be used as the fail comment in the PR. Option 2) Speciy a filename input with the path to a template file. Trying it out Create a new pull request and take care to not include a linked item or mention an issue. The build should fail. Edit the PR body and add a reference to a valid issue (e.g. #123 ) Known Issues There must be a space after the issue number (ie \"#12 \" no","default_branch":null,"files":null,"tree":[],"storefront":"/r/hattan","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/hattan/verify-linked-issue-action/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}