Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't allow merging pull requests without linked issue #61

Open
kappsegla opened this issue Feb 8, 2023 · 3 comments
Open

Don't allow merging pull requests without linked issue #61

kappsegla opened this issue Feb 8, 2023 · 3 comments
Assignees

Comments

@kappsegla
Copy link
Contributor

When merging and closing pull request a linked issue will automatically be closed. Can be done either by linking branches and pull request from the web page under Development in the Sidebar UI -->
Or by using a text like closes #issuenumber
If we miss doing this an issue will not be automatically closed.

Describe the solution you'd like
I would to see if this action could work for automatic checking that a PR is linked to an issue.
There seems to be some limitations that the linking between PR and issue only can be done manually in the PR description? So no Sidebar UI?

There are alternatives to the action linked above. Probably they have the same limitation, demanding a link to the issue in the PR body?
https://github.com/tkt-actions/add-issue-links
https://github.com/hattan/verify-linked-issue-action

@williamDenStore williamDenStore self-assigned this Feb 9, 2023
@kappsegla kappsegla linked a pull request Feb 13, 2023 that will close this issue
@TrungMa1
Copy link
Contributor

Automating the closure of linked issues upon PR merge improves workflow efficiency

@kappsegla
Copy link
Contributor Author

Automating the closure of linked issues upon PR merge improves workflow efficiency

Something you would like to implement @TrungMa1 ?
The first link seems to be updated resently while the other one hasn't change in a long time.

@TrungMa1
Copy link
Contributor

Nothing particularly, it was just a statement.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants