Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion .github/workflows/changelog.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,16 @@
name: Changelog

# Separate from tests.yml so that adding or removing the skip-changelog
# label re-runs only this check, not the whole test matrix.
# label re-runs only this check, not the whole test matrix. A pull request
# touching only tests and contributor docs changes nothing a user sees.
# Such a pull request gets no check run at all, so do not make this check
# required in branch protection: it would wait forever for one.
on:
pull_request:
types: [opened, synchronize, reopened, labeled, unlabeled]
paths-ignore:
- "tests/**"
- "CONTRIBUTING.md"

concurrency:
group: changelog-${{ github.ref }}
Expand Down
3 changes: 2 additions & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ named `<issue or PR number>.<type>.rst`, for example `42.bugfix.rst`. The
types are listed under `[tool.towncrier]` in `pyproject.toml`: `breaking`,
`removal`, `feature`, `bugfix`, `documentation`, `deps`, `internal`, `chore`
and `security`. `towncrier create` makes the file for you. A pull request
with nothing worth mentioning can be labelled `skip-changelog`.
touching nothing but `tests/` or this file is not checked for one, and any
other with nothing worth mentioning can be labelled `skip-changelog`.

## Development setup

Expand Down
Loading