Linking to an issue creates closes token in readme which closes the issue when merged #2362
Labels
priority: p3
Desirable enhancement or fix. May not be included in next release.
type: question
Request for information or clarification. Not an issue.
What you're trying to do
I am trying to understand where in our pipeline this functionality is handled and if it is expected or not.
We link to issues in github commits. We use the convention of
refs #issue
when the commit references an issue but does not close it. When we do want a linked commit to close we usefixes #issue
but from the github docs any of the following will perform that action.This commit used the pattern
Ref 182
and the resulting release pull request added a, closes #182
which is not accurate.It appears that the code below possibly ignores the value and groups closes and refs together?
release-please/src/commit.ts
Lines 174 to 221 in 34abdd3
This code suggests that closes is presumptuous and it should be refs which aligns with my expectation but is not a part of the node strategy.
release-please/src/strategies/go-yoshi.ts
Lines 180 to 197 in 34abdd3
Is this expected behavior and we need to retrain how we link to issues without closing them or can this be fixed in the strategy or release note writer?
The text was updated successfully, but these errors were encountered: