Skip to content

Restrict the usage of issue references#25

Open
jbieliauskas wants to merge 3 commits into
masterfrom
pull-request-references
Open

Restrict the usage of issue references#25
jbieliauskas wants to merge 3 commits into
masterfrom
pull-request-references

Conversation

@jbieliauskas

Copy link
Copy Markdown
Collaborator

Mandates how we should use github's issue references like Closes #X.

@PauliusMacernis PauliusMacernis left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Specify "References" part in "References should not appear in pull request title or any of its commits."
The rest looks ok to me.

Comment thread README.md Outdated

Create a pull request to `master` branch. The changes will be merged after they pass code review.

If an issue should be closed once a pull request is merged, it can be done automatically using Github issue references. Add "Closes #{issue number}" to description ([example](https://github.com/digitronas/akeneo-coding-standard/pull/5)). References should not appear in pull request title or any of its commits.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It would be good to point out to the specific version of the reference under the following:

References should not appear in pull request title or any of its commits.

The #number is also a reference, more like these exists. Should we tolerate a reference of another type than closes? I see no harm for another type of references to be used in commits or description. Either way, none of the references should probably be used in the title, I may agree with this one. Feel free to decide on this topic if you have an argument to support your opinion.

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 this pull request may close these issues.

2 participants