auto
auto copied to clipboard
omit-release-notes not excluding pull requests with git-tag
Describe the bug
Created a pull request that I would like to exclude from the release notes. But it does not exclude the pull request when I create the release notes.
I have the following configured in .autorc
{
"plugins": [
"git-tag",
"all-contributors",
"first-time-contributor",
[
"omit-release-notes",
{
"username":"LOFPETER",
"name": "Peter Loftus",
"email": ["[email protected]"],
"labels": "skip-test"
}
]
],
"owner": "LOFPETER",
"repo": "release",
"name": "Peter Loftus",
"email": "[email protected]"
}
To Reproduce
- Download auto binary
- Set up .autorc config using git-tag plugin and add omit-release-notes section.
- Create a branch from main and make a change
- Create a pull request that includes a tag to skip not exclude this PR.
- Merge Pull Request
- Tag a release
- Run "auto release"
Pull request is included in release notes.
Expected behavior
Pull Request should be excluded from release notes
Screenshots
Environment information:
Environment Information:
"auto" version: v10.32.4
"git" version: v2.34.1
"node" version: v12.18.1
GHE version: v2.22.26.ext
Additional context
You're trying to omit a certain item from the changelog which is a little different from the Release Notes feature.
What you are looking for is the omit commits plugin this will omit the commit from both the changelog and release calculation