bahmutov / bahmutov/github-post-release

Inspect pull request text

Open
#10 0 comments 0 reactions 1 assignee Claimed by @bahmutov View on GitHub
enhancement
Dominant language
JavaScript
Stars
17
Forks
0
PR merge metrics
No merged PRs in 30d

Description

If a commit is semantic, but comes from the pull request, the message that it fixes a particular issue could be in the text of the *pull request*.

For example, pull request https://github.com/bahmutov/snap-shot-core/pull/14 in its text says that it closes issue 13 (`fixes #13`), but because the commit itself does not say this, there is no message in the issue 13 that new version has been published.

The commit message in this case has pull request number https://github.com/bahmutov/snap-shot-core/commit/85ac6922a3cead393abd07bdfb0b9cb30a6a3166

```
fix(store): escape values with jsesc (#14)
```

Should should inspect the commit message, find `#14`, see if this refers to the closed pull request, fetch the text of the pull request, and parse the text just like parsing commit message to find closed issues to comment on

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.