Skip to content

Commit 9f66980

Browse files
authored
Merge pull request #24 from makermelissa/main
Pin python version to 3.11
2 parents 8503f01 + 163cccd commit 9f66980

File tree

4 files changed

+41
-3
lines changed

4 files changed

+41
-3
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/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@ jobs:
1818
awk -F '\/' '{ print tolower($2) }' |
1919
tr '_' '-'
2020
) >> $GITHUB_OUTPUT
21-
- name: Set up Python 3.x
21+
- name: Set up Python 3.11
2222
uses: actions/setup-python@v4
2323
with:
24-
python-version: '3.x'
24+
python-version: '3.11'
2525
- name: Versions
2626
run: |
2727
python3 --version

.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 }}

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
if: contains(steps.need-pypi.outputs.pyproject-toml, 'pyproject.toml')
2222
uses: actions/setup-python@v4
2323
with:
24-
python-version: '3.x'
24+
python-version: '3.11'
2525
- name: Install dependencies
2626
if: contains(steps.need-pypi.outputs.pyproject-toml, 'pyproject.toml')
2727
run: |

0 commit comments

Comments
 (0)