Skip to content
This repository was archived by the owner on Sep 14, 2023. It is now read-only.

Commit 9936031

Browse files
committed
github: enable release drafter
1 parent c5e9a56 commit 9936031

File tree

4 files changed

+41
-5
lines changed

4 files changed

+41
-5
lines changed

.github/release-drafter.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
categories:
2+
- title: 'Features'
3+
labels:
4+
- 'feature'
5+
- 'enhancement'
6+
- title: 'Bug Fixes'
7+
labels:
8+
- 'fix'
9+
- 'bugfix'
10+
- 'bug'
11+
- title: 'Maintenance'
12+
label: 'chore'
13+
exclude-labels:
14+
- 'skip-changelog'
15+
template: |
16+
## Changes
17+
18+
$CHANGES

.github/workflows/release-drafter.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: Release Management
2+
3+
on:
4+
push:
5+
# branches to consider in the event; optional, defaults to all
6+
branches:
7+
- master
8+
9+
jobs:
10+
update_draft_release:
11+
runs-on: ubuntu-latest
12+
steps:
13+
# Drafts your next Release notes as Pull Requests are merged into "master"
14+
- uses: toolmantim/release-drafter@v5.2.0
15+
env:
16+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.pre-commit-config.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
repos:
33
- repo: https://github.com/PyCQA/doc8.git
4-
rev: 0.8.1rc1
4+
rev: 0.8.1rc2
55
hooks:
66
- id: doc8
77
- repo: https://github.com/python/black
@@ -10,7 +10,7 @@ repos:
1010
- id: black
1111
language_version: python3
1212
- repo: https://github.com/pre-commit/pre-commit-hooks.git
13-
rev: v2.1.0
13+
rev: v2.3.0
1414
hooks:
1515
- id: end-of-file-fixer
1616
- id: trailing-whitespace
@@ -20,20 +20,20 @@ repos:
2020
- id: check-merge-conflict
2121
- id: debug-statements
2222
- repo: https://gitlab.com/pycqa/flake8.git
23-
rev: 3.7.7
23+
rev: 3.7.8
2424
hooks:
2525
- id: flake8
2626
additional_dependencies:
2727
- flake8-black
2828
- repo: https://github.com/adrienverge/yamllint.git
29-
rev: v1.15.0
29+
rev: v1.17.0
3030
hooks:
3131
- id: yamllint
3232
files: \.(yaml|yml)$
3333
types: [file, yaml]
3434
entry: yamllint --strict
3535
- repo: https://github.com/codespell-project/codespell.git
36-
rev: v1.15.0
36+
rev: v1.16.0
3737
hooks:
3838
- id: codespell
3939
name: codespell

.yamllint

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,7 @@ rules:
88
allow-non-breakable-words: true
99
allow-non-breakable-inline-mappings: true
1010
key-duplicates: enable
11+
truthy:
12+
allowed-values: ['true', 'false', 'on']
1113
ignore: |
1214
.tox

0 commit comments

Comments
 (0)