Skip to content

Commit 66aa5de

Browse files
authored
Merge pull request #311 from makermelissa/release-drafter
Add Release Drafter to make releases easier
2 parents 95fb4af + 20773b5 commit 66aa5de

File tree

2 files changed

+43
-0
lines changed

2 files changed

+43
-0
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+
# SPDX-FileCopyrightText: 2023 Melissa LeBlanc-Williams, written for Adafruit Industries
2+
#
3+
# SPDX-License-Identifier: MIT
4+
5+
categories:
6+
- title: "New Boards"
7+
collapse-after: 1
8+
labels:
9+
- "New Board"
10+
change-template: "- $TITLE #$NUMBER by @$AUTHOR"
11+
template: |
12+
## What's Changed
13+
14+
$CHANGES
15+
16+
To use in CPython, `pip3 install Adafruit-PlatformDetect`.
17+
18+
Read the [docs](https://circuitpython.readthedocs.io/projects/platformdetect/en/latest/) for info on how to use it.
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# SPDX-FileCopyrightText: 2023 Melissa LeBlanc-Williams, written for Adafruit Industries
2+
#
3+
# SPDX-License-Identifier: MIT
4+
5+
name: Release Drafter
6+
7+
on:
8+
push:
9+
branches:
10+
- main
11+
12+
permissions:
13+
contents: read
14+
15+
jobs:
16+
update_release_draft:
17+
permissions:
18+
# write permission is required to create a github release
19+
contents: write
20+
pull-requests: read
21+
runs-on: ubuntu-latest
22+
steps:
23+
- uses: release-drafter/release-drafter@v5
24+
env:
25+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)