ci: issue labeler + footer changed for goreleaser (#186)

Drew Smirnoff created

Change summary

.github/labeler-config.yml    | 22 ++++++++++++++++++++++
.github/release.yml           |  6 ++++++
.github/workflows/labeler.yml | 22 ++++++++++++++++++++++
.goreleaser.yml               |  4 +++-
4 files changed, 53 insertions(+), 1 deletion(-)

Detailed changes

.github/labeler-config.yml 🔗

@@ -20,3 +20,25 @@
   - '\bquestion(s)?\b'
   - '\bhelp\b'
   - '\bhow to\b'
+
+"performance":
+  - '\bperformance\b'
+  - '\boptimiz(e|ation)\b'
+  - '\bspeed\b'
+  - '\befficiency\b'
+
+"dependencies":
+  - '\bchore\(deps\)\b'
+  - '\bfix\(deps\)\b'
+
+"ci":
+  - '\bci\b'
+  - '\bcontinuous integration\b'
+  - '\bbuild\b'
+  - '\bworkflow\b'
+
+"chore":
+  - '\bchore\b'
+  - '\bmaintenance\b'
+  - '\brefactor\b'
+  - '\bcleanup\b'

.github/release.yml 🔗

@@ -24,6 +24,12 @@ changelog:
     - title: "Dependencies"
       labels:
         - "dependencies"
+    - title: "Continuous Integration"
+      labels:
+        - "ci"
+    - title: "Chores"
+      labels:
+        - "chore"
     - title: "Other Changes"
       labels:
         - "*"

.github/workflows/labeler.yml 🔗

@@ -0,0 +1,22 @@
+name: "Labeler"
+
+on:
+  issues:
+    types: [opened, edited]
+  pull_request_target:
+    types: [opened, edited]
+
+jobs:
+  triage:
+    permissions:
+      contents: read
+      issues: write
+      pull-requests: write
+    runs-on: ubuntu-latest
+    steps:
+      - name: Apply Labels
+        uses: github/issue-labeler@v3.4
+        with:
+          repo-token: "${{ secrets.GITHUB_TOKEN }}"
+          configuration-path: .github/labeler-config.yml
+          enable-versioned-regex: 0

.goreleaser.yml 🔗

@@ -73,7 +73,9 @@ release:
   # Add a footer to the release notes featuring full changelog.
   footer: |
     ---
-    **Full Changelog**: https://github.com/floatpane/matcha/compare/{{ .PreviousTag }}...{{ .Tag }}
+    This version is also available on **[Snapcraft](https://snapcraft.io/matcha)**, **Homebrew**, **[Flatpak](https://matcha.floatpane.com/matcha.flatpakref)**!
+
+    View the [installation instructions](https://github.com/floatpane/matcha/blob/master/docs/INSTALLATION.md) for more details.
 
 # 'brews' configures the Homebrew tap integration.
 brews: