From fc78bbe6475413a41b7a02d5faf19fd71eee03ea Mon Sep 17 00:00:00 2001
From: Diwamoto <daiki.work.0118@gmail.com>
Date: Fri, 23 Feb 2024 00:04:42 +0900
Subject: [PATCH] add: auto release github actions

---
 .github/workflows/release.yml | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)
 create mode 100644 .github/workflows/release.yml

diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
new file mode 100644
index 0000000..bcd0f76
--- /dev/null
+++ b/.github/workflows/release.yml
@@ -0,0 +1,22 @@
+name: Create Release
+
+on:
+  push:
+    branches:
+      - master
+
+jobs:
+  create_release:
+    runs-on: ubuntu-latest
+
+    steps:
+      - name: Generate GitHub Apps token
+        id: generate_token
+        uses: tibdex/github-app-token@v1
+        with:
+          app_id: ${{ secrets.APP_ID }}
+          private_key: ${{ secrets.PRIVATE_KEY }}
+      - uses: google-github-actions/release-please-action@v3
+        with:
+          token: ${{ steps.generate_token.outputs.token }}
+          release-type: simple
\ No newline at end of file