Skip to content

Commit 163cccd

Browse files
committed
Add release drafter
1 parent e75ff02 commit 163cccd

File tree

2 files changed

+38
-0
lines changed

2 files changed

+38
-0
lines changed

.github/release-drafter.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# SPDX-FileCopyrightText: 2023 Melissa LeBlanc-Williams, written for Adafruit Industries
2+
#
3+
# SPDX-License-Identifier: MIT
4+
5+
change-template: "- $TITLE #$NUMBER by @$AUTHOR"
6+
template: |
7+
## What's Changed
8+
9+
$CHANGES
10+
11+
To use in CPython, `pip3 install Adafruit-Python-Shell`.
12+
13+
Read the [docs](https://circuitpython.readthedocs.io/projects/shell/en/latest/) for info on how to use it.

.github/workflows/release-drafter.yml

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)