-
Notifications
You must be signed in to change notification settings - Fork 122
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1c3b87b
commit 0d4691b
Showing
2 changed files
with
64 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,27 @@ | ||
- id: towncrier-check | ||
name: towncrier-check | ||
- id: towncrier-draft | ||
name: towncrier build --draft | ||
description: Check towncrier changelog updates | ||
entry: towncrier --draft | ||
language: python | ||
entry: towncrier build --draft | ||
pass_filenames: false | ||
types: [text] | ||
files: newsfragments/ | ||
|
||
- id: towncrier-checks | ||
name: towncrier check | ||
description: Check for missing news fragments | ||
language: python | ||
entry: towncrier check | ||
pass_filenames: false | ||
stages: | ||
- pre-push | ||
always_run: true | ||
|
||
- id: towncrier-update | ||
name: towncrier-update | ||
name: towncrier build | ||
description: Update changelog with towncrier | ||
entry: towncrier | ||
pass_filenames: false | ||
args: ["--yes"] | ||
files: newsfragments/ | ||
language: python | ||
entry: towncrier build --yes | ||
pass_filenames: false | ||
always_run: true | ||
stages: | ||
- manual |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters