WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Commit a0a5a98

Browse files
authored
[ci] use release-drafter bot again (#346)
1 parent 6b46940 commit a0a5a98

File tree

4 files changed

+44
-19
lines changed

4 files changed

+44
-19
lines changed

.github/release-drafter.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
---
2+
name-template: 'v$NEXT_PATCH_VERSION'
3+
tag-template: 'v$NEXT_PATCH_VERSION'
4+
categories:
5+
- title: '💡 New Features'
6+
label: 'enhancement'
7+
- title: '😬 Breaking'
8+
label: 'breaking'
9+
- title: '🙈 Bug Fixes'
10+
label: 'fix'
11+
- title: '📖 Documentation'
12+
label: 'doc'
13+
- title: '🛠 Maintenance'
14+
label: 'maintenance'
15+
change-template: '- $TITLE @$AUTHOR (#$NUMBER)'
16+
template: |
17+
## Changes
18+
$CHANGES
19+
20+
## Contributors
21+
$CONTRIBUTORS

.github/release.yml

Lines changed: 0 additions & 17 deletions
This file was deleted.
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
---
2+
name: release-drafter
3+
4+
on:
5+
push:
6+
branches:
7+
- main
8+
9+
permissions:
10+
contents: read
11+
12+
jobs:
13+
update_release_draft:
14+
permissions:
15+
contents: write
16+
runs-on: ubuntu-latest
17+
steps:
18+
- uses: release-drafter/release-drafter@b1476f6e6eb133afa41ed8589daba6dc69b4d3f5 # v6.1.0
19+
env:
20+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
21+
with:
22+
disable-autolabeler: true

CONTRIBUTING.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,7 @@ bin/create-release-pr '0.11.0'
2121

2222
2. Merge that PR.
2323
3. navigate to https://github.com/jameslamb/pydistcheck/releases
24-
4. create a draft release
25-
- click "generate release notes"
24+
4. edit the draft release there
2625
- remove any changelog items that are just "changed the version number" PRs
2726
- ensure that the tag that'll be created matches the version number, in the form `v{major}.{minor}.{patch}`
2827
5. click "publish"

0 commit comments

Comments
 (0)