Skip to content

Commit 5016375

Browse files
Issue #8823 - remove bots from contributors list (#8828)
* fix-contributors-list * remove-bots * delete-extraneous-file * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent 9cdb722 commit 5016375

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/release.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ def announce(version):
2020
stdout = check_output(["git", "log", f"{last_version}..HEAD", "--format=%aN"])
2121
stdout = stdout.decode("utf-8")
2222

23-
contributors = set(stdout.splitlines())
23+
contributors = {name for name in stdout.splitlines() if not name.endswith("[bot]")}
2424

2525
template_name = (
2626
"release.minor.rst" if version.endswith(".0") else "release.patch.rst"

0 commit comments

Comments
 (0)