prow
prow copied to clipboard
plugins: add new plugin for linking and unlinking issues to a PR
This PR adds a new plugin issue-management which has commands for linking and unlinking issues to a PR. Ref - https://docs.github.com/en/issues/tracking-your-work-with-issues/using-issues/linking-a-pull-request-to-an-issue
- The commands can be used to link an issue to a PR in the current repository or in a different repository as well as handle multiple issues
- This is done by adding the supported keyword
Fixesto the body of the PR if it doesn't already exist or by appending the issue to the existing Fixes line - Supported formats are
issue-numberandorg/repo-name#issue-number
A new plugin has been added to accommodate any existing issue commands or provide flexibility to support more issue commands in the future.
Fixes #359
Deploy Preview for k8s-prow ready!
| Name | Link |
|---|---|
| Latest commit | c65a580f76d5d102ae7ca0f5b5f3723f2484857d |
| Latest deploy log | https://app.netlify.com/projects/k8s-prow/deploys/692d60b9defd3a000813d3a3 |
| Deploy Preview | https://deploy-preview-556--k8s-prow.netlify.app |
| Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify project configuration.
[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: Amulyam24 Once this PR has been reviewed and has the lgtm label, please assign cjwagner for approval. For more information see the Code Review Process.
The full list of commands accepted by this bot can be found here.
Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment
@Amulyam24: The label(s) `/label do-not-merge/work-in-progress
cannot be applied. These labels are supported:api-review, tide/merge-method-merge, tide/merge-method-rebase, tide/merge-method-squash, team/katacoda, refactor, ci-short, ci-extended, ci-full. Is this label configured under labels -> additional_labelsorlabels -> restricted_labelsinplugin.yaml`?
In response to this:
/label do-not-merge/work-in-progress
Adding UT
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.
/hold
WIP: Adding UT
/unhold
I think this is pretty close, I appreciate the test coverage. Left some comment about the code structure.