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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
$CONTRIBUTORS variable takes contributors from a skipped PR #569
Comments
for a quick workaround you could use the replacers to get rid of him 馃槄 |
This regex would mostly do the job: |
Hello! @jetersen Thanks for your quick answer. name-template: 'v$RESOLVED_VERSION 馃悕'
tag-template: 'v$RESOLVED_VERSION'
exclude-labels:
- 'skip-changelog'
version-resolver:
minor:
labels:
- 'breaking-change'
default: patch
categories:
- title: 'Breaking changes'
label: 'breaking-change'
template: |
## Changes
$CHANGES
Thanks again to $CONTRIBUTORS! 馃帀
no-changes-template: 'Changes are coming soon 馃槑'
sort-direction: 'ascending'
replacers:
- search: '(?:and )?@dependabot-preview(?:\[bot\])?,?'
replace: '' The result: |
you have to write the full regex so: replacers:
- search: '/(?:and )?@dependabot-preview(?:\[bot\])?,?/g'
replace: '' |
Of course 馃槄 ! Sorry! |
I'll look into fixing permanently |
I was torn between creating a new issue or posting here, but could one solution be to introduce a new configuration property named I've only thought this through for the |
Hello! |
Regex cleaning approach does not work when the undesired entry is at the end because the sentence will end like I should also mention that the exclude-contributors does not seem to really work for bots at least. I added
|
I'm not 100% but I don't think |
That may explain it. It should also be noted that few days ago github updated the way release page displays by automatically creating a "contributors" section with badges of each contributor. You cannot disable this new section thus I fully removed the the similar feature from my release drafter template. |
We're also seeing this as part of our monorepo-based deployment setup (borrowed from #1294) - on releases for a particular app, contributors of all commits (including those skipped) are added to |
Hello everyone, thanks for your useful tool!!! 馃槃
In the meilisearch organization, we use release-drafter with GHA on most of our repositories for a few weeks and we are really satisfied!
I used to skip the PR of Dependabot thanks to the
exclude-labels:
field. It works perfectly: the PR is indeed not added to the release draft.But the
dependatbot
contributor is still there.Is it possible to include only contributors from non-skipped PR in the
$CONTRIBUTOR
variable?FYI, here is my template:
Sorry if it's a duplicated issue but I found nothing.
Have a nice day!
The text was updated successfully, but these errors were encountered: