From: Scott Shawcroft Date: Wed, 6 Sep 2023 17:10:57 +0000 (-0700) Subject: Merge pull request #698 from makermelissa/release-drafter X-Git-Tag: 8.21.0 X-Git-Url: https://git.ayoreis.com/Adafruit_Blinka-hackapet.git/commitdiff_plain/53a02cb868155b525462d27c9346f781a41b00d7?hp=b0862a2aa0b186aaadcaca3cd6c33949c6745922 Merge pull request #698 from makermelissa/release-drafter Add Release Drafter to make releases easier --- diff --git a/.github/release-drafter.yml b/.github/release-drafter.yml new file mode 100644 index 0000000..70b453a --- /dev/null +++ b/.github/release-drafter.yml @@ -0,0 +1,18 @@ +# SPDX-FileCopyrightText: 2023 Melissa LeBlanc-Williams, written for Adafruit Industries +# +# SPDX-License-Identifier: MIT + +categories: + - title: "New Boards" + collapse-after: 1 + labels: + - "New Board Request" +change-template: "- $TITLE #$NUMBER by @$AUTHOR" +template: | + ## What's Changed + + $CHANGES + + To use in CPython, `pip3 install adafruit-blinka`. + + Read the [docs](https://circuitpython.readthedocs.io/projects/blinka/en/latest/) for info on how to use it. diff --git a/.github/workflows/release-drafter.yml b/.github/workflows/release-drafter.yml new file mode 100644 index 0000000..bc9d42f --- /dev/null +++ b/.github/workflows/release-drafter.yml @@ -0,0 +1,25 @@ +# SPDX-FileCopyrightText: 2023 Melissa LeBlanc-Williams, written for Adafruit Industries +# +# SPDX-License-Identifier: MIT + +name: Release Drafter + +on: + push: + branches: + - main + +permissions: + contents: read + +jobs: + update_release_draft: + permissions: + # write permission is required to create a github release + contents: write + pull-requests: read + runs-on: ubuntu-latest + steps: + - uses: release-drafter/release-drafter@v5 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}