From 91b383d4264dd607a83f2307c99c6c2923604180 Mon Sep 17 00:00:00 2001 From: Melissa LeBlanc-Williams Date: Tue, 19 Mar 2024 14:43:44 -0700 Subject: [PATCH] Add release drafter --- .github/release-drafter.yml | 13 +++++++++++++ .github/workflows/release-drafter.yml | 25 +++++++++++++++++++++++++ 2 files changed, 38 insertions(+) create mode 100644 .github/release-drafter.yml create mode 100644 .github/workflows/release-drafter.yml 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 }} -- 2.49.0