Skip to content

Commit dce1564

Browse files
keewispre-commit-ci[bot]henryiii
authored
fix: change the exclusion pattern for bots (#636)
* change the excluded bot names It seems github changed the way this works, such that this has to match what is displayed as author (which includes the `[bot]` marker for bots like `pre-commit-ci` and `dependabot`) * style: pre-commit fixes * wrap in quotes to keep it valid json (and also to prevent the auto-formatter from removing the changes) * style: pre-commit fixes * edit the template instead * style: pre-commit fixes * Fix link formatting for GitHub changelog * Update bot names in changelog exclusions --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Henry Schreiner <[email protected]>
1 parent 6127b75 commit dce1564

File tree

3 files changed

+13
-10
lines changed

3 files changed

+13
-10
lines changed

.github/release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
changelog:
22
exclude:
33
authors:
4-
- dependabot
5-
- github-actions
6-
- pre-commit-ci
7-
- scientific-python-pr-tokenbot
4+
- dependabot[bot]
5+
- github-actions[bot]
6+
- pre-commit-ci[bot]
7+
- scientific-python-pr-tokenbot[bot]

docs/pages/guides/gha_basic.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -733,11 +733,14 @@ with code_fence("yaml"):
733733
changelog:
734734
exclude:
735735
authors:
736-
- dependabot
737-
- pre-commit-ci
736+
- dependabot[bot]
737+
- pre-commit-ci[bot]
738738
```
739739
<!-- prettier-ignore-end -->
740740
<!-- [[[end]]] -->
741741

742-
[gh-changelog]:
743-
https://docs.github.com/en/repositories/releasing-projects-on-github/automatically-generated-release-notes
742+
<!-- prettier-ignore-start -->
743+
744+
[gh-changelog]: https://docs.github.com/en/repositories/releasing-projects-on-github/automatically-generated-release-notes
745+
746+
<!-- prettier-ignore-end -->
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
changelog:
22
exclude:
33
authors:
4-
- dependabot
5-
- pre-commit-ci
4+
- dependabot[bot]
5+
- pre-commit-ci[bot]

0 commit comments

Comments
 (0)