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

feature: add link issues check #74

Merged
merged 31 commits into from
Feb 7, 2020
Merged

feature: add link issues check #74

merged 31 commits into from
Feb 7, 2020

Conversation

TomWoodward
Copy link
Member

@TomWoodward TomWoodward commented Feb 5, 2020

This verifies that the Pull Request description contains a link to the Issue that it fixes.

image

image


image


image

@philschatz philschatz temporarily deployed to staxly-dev-pr-74 February 5, 2020 18:56 Inactive
@TomWoodward TomWoodward temporarily deployed to staxly-dev-pr-74 February 5, 2020 19:02 Inactive
@TomWoodward TomWoodward temporarily deployed to staxly-dev-pr-74 February 5, 2020 19:08 Inactive
@TomWoodward TomWoodward temporarily deployed to staxly-dev-pr-74 February 5, 2020 19:16 Inactive
@TomWoodward TomWoodward temporarily deployed to staxly-dev-pr-74 February 5, 2020 19:54 Inactive
@TomWoodward TomWoodward temporarily deployed to staxly-dev-pr-74 February 5, 2020 20:08 Inactive
@TomWoodward TomWoodward temporarily deployed to staxly-dev-pr-74 February 5, 2020 20:41 Inactive
@TomWoodward TomWoodward temporarily deployed to staxly-dev-pr-74 February 5, 2020 20:48 Inactive
* which is an error that cannot be suppressed
**/
/* eslint-disable-next-line */
'^(.* )?link: (?<owner>openstax)\/(?<repo>[a-z\-]+)#(?<number>[0-9]+)( .*)?$',
Copy link
Member

@philschatz philschatz Feb 5, 2020

Choose a reason for hiding this comment

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

Why is the text link: necessary? If it is to differentiate from someone saying something like This is a followup to #123 then maybe additional phrases should be included. Examples

  • refs #123
  • fixes openstax/foo#123

Copy link
Member Author

Choose a reason for hiding this comment

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

yea i agree that the word "link" could be better. maybe just for: openstax/foo#123 would be clearer

@TomWoodward TomWoodward temporarily deployed to staxly-dev-pr-74 February 5, 2020 20:57 Inactive
@TomWoodward TomWoodward temporarily deployed to staxly-dev-pr-74 February 5, 2020 21:04 Inactive
@philschatz philschatz changed the title add link issues check feature: add link issues check Feb 5, 2020
@TomWoodward TomWoodward temporarily deployed to staxly-dev-pr-74 February 5, 2020 21:10 Inactive
@TomWoodward TomWoodward temporarily deployed to staxly-dev-pr-74 February 5, 2020 21:30 Inactive
@TomWoodward TomWoodward temporarily deployed to staxly-dev-pr-74 February 5, 2020 21:43 Inactive
@TomWoodward TomWoodward temporarily deployed to staxly-dev-pr-74 February 5, 2020 21:46 Inactive
@TomWoodward TomWoodward temporarily deployed to staxly-dev-pr-74 February 6, 2020 04:05 Inactive
@TomWoodward TomWoodward temporarily deployed to staxly-dev-pr-74 February 6, 2020 15:38 Inactive
@TomWoodward TomWoodward temporarily deployed to staxly-dev-pr-74 February 6, 2020 19:49 Inactive
@TomWoodward TomWoodward temporarily deployed to staxly-dev-pr-74 February 7, 2020 01:51 Inactive
@TomWoodward TomWoodward temporarily deployed to staxly-dev-pr-74 February 7, 2020 03:23 Inactive
@TomWoodward TomWoodward temporarily deployed to staxly-dev-pr-74 February 7, 2020 03:28 Inactive
@TomWoodward TomWoodward temporarily deployed to staxly-dev-pr-74 February 7, 2020 03:30 Inactive
@TomWoodward TomWoodward temporarily deployed to staxly-dev-pr-74 February 7, 2020 03:35 Inactive
@TomWoodward TomWoodward temporarily deployed to staxly-dev-pr-74 February 7, 2020 03:40 Inactive
@TomWoodward TomWoodward temporarily deployed to staxly-dev-pr-74 February 7, 2020 03:40 Inactive
@TomWoodward TomWoodward temporarily deployed to staxly-dev-pr-74 February 7, 2020 03:48 Inactive
@TomWoodward TomWoodward temporarily deployed to staxly-dev-pr-74 February 7, 2020 03:54 Inactive
Copy link
Member

@philschatz philschatz left a comment

Choose a reason for hiding this comment

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

I updated the README with a description of this feature

@philschatz philschatz merged commit 6fc59f7 into master Feb 7, 2020
@philschatz philschatz deleted the link-issues branch February 7, 2020 16:20
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