Skip to content

Commit 921ee59

Browse files
release drafter statically typed
1 parent b3cc7d3 commit 921ee59

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

.github/workflows/release.draft.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,21 @@ on:
99
description: Is this a pre-release
1010
required: true
1111
default: true
12+
type: boolean
1213
publish:
1314
description: Publish release
1415
required: false
1516
default: false
17+
type: boolean
1618
bump:
1719
description: 'Bumping (#major, #minor or #patch)'
1820
required: false
1921
default: patch
22+
type: choice
23+
options:
24+
- 'patch'
25+
- 'minor'
26+
- 'major'
2027

2128
jobs:
2229
draft-a-release:

.pre-commit-config.yaml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,6 @@ repos:
4545
- id: trailing-whitespace
4646
- id: no-commit-to-branch
4747
args: [--branch, master, --branch, main]
48-
- repo: git://github.com/johncblandii/pre-commit-makefile
49-
rev: 261f8fb4b31dfdc05d1a1d7fbde1f1462ecde66d
50-
hooks:
51-
- id: makefile-doc
5248
- repo: meta
5349
hooks:
5450
- id: check-useless-excludes

0 commit comments

Comments
 (0)