Skip to content

Commit 1b02a1e

Browse files
committed
Add Release Drafter Files
1 parent 95fb4af commit 1b02a1e

File tree

2 files changed

+38
-0
lines changed

2 files changed

+38
-0
lines changed

.github/release-drafter.yml

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

0 commit comments

Comments
 (0)