From 55ac80c98600b7bbe83918f9a2938c893d181462 Mon Sep 17 00:00:00 2001 From: Melissa LeBlanc-Williams Date: Tue, 5 Sep 2023 16:41:06 -0700 Subject: [PATCH] Add Release Drafter Files --- .github/release-drafter.yml | 17 +++++++++++++++++ .github/workflows/release-drafter.yml | 21 +++++++++++++++++++++ 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..6561037 --- /dev/null +++ b/.github/release-drafter.yml @@ -0,0 +1,17 @@ +categories: + - title: "Breaking Changes" + labels: + - "breaking change" + - title: "New Boards" + collapse-after: 1 + labels: + - "New Board" +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. \ No newline at end of file diff --git a/.github/workflows/release-drafter.yml b/.github/workflows/release-drafter.yml new file mode 100644 index 0000000..1fb78c0 --- /dev/null +++ b/.github/workflows/release-drafter.yml @@ -0,0 +1,21 @@ +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 }} \ No newline at end of file -- 2.49.0