From: Melissa LeBlanc-Williams Date: Tue, 19 Mar 2024 21:43:44 +0000 (-0700) Subject: Add release drafter X-Git-Tag: 2.0.0^2 X-Git-Url: https://git.ayoreis.com/hackapet/Adafruit_Blinka_Displayio.git/commitdiff_plain/91b383d4264dd607a83f2307c99c6c2923604180 Add release drafter --- diff --git a/.github/release-drafter.yml b/.github/release-drafter.yml new file mode 100644 index 0000000..9963f9f --- /dev/null +++ b/.github/release-drafter.yml @@ -0,0 +1,13 @@ +# SPDX-FileCopyrightText: 2023 Melissa LeBlanc-Williams, written for Adafruit Industries +# +# SPDX-License-Identifier: MIT + +change-template: "- $TITLE #$NUMBER by @$AUTHOR" +template: | + ## What's Changed + + $CHANGES + + To use in CPython, `pip3 install adafruit-blinka-displayio`. + + Read the [docs](https://adafruit-blinka-displayio.readthedocs.io/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 }}