]> Repositories - Adafruit_Blinka-hackapet.git/commitdiff
Add Release Drafter Files
authorMelissa LeBlanc-Williams <melissa@adafruit.com>
Tue, 5 Sep 2023 23:41:06 +0000 (16:41 -0700)
committerMelissa LeBlanc-Williams <melissa@adafruit.com>
Tue, 5 Sep 2023 23:41:06 +0000 (16:41 -0700)
.github/release-drafter.yml [new file with mode: 0644]
.github/workflows/release-drafter.yml [new file with mode: 0644]

diff --git a/.github/release-drafter.yml b/.github/release-drafter.yml
new file mode 100644 (file)
index 0000000..6561037
--- /dev/null
@@ -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 (file)
index 0000000..1fb78c0
--- /dev/null
@@ -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