From fe8232e802880afe81fed8971f5e69883e99d0ca Mon Sep 17 00:00:00 2001 From: putcho01 Date: Mon, 11 May 2026 14:04:29 +0900 Subject: [PATCH] =?UTF-8?q?:wrench:(release):=20tagpr=20=E3=81=AB=E3=82=88?= =?UTF-8?q?=E3=82=8B=E3=83=AA=E3=83=AA=E3=83=BC=E3=82=B9=E8=87=AA=E5=8B=95?= =?UTF-8?q?=E5=8C=96=E3=82=92=E8=A8=AD=E5=AE=9A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/release.yml | 5 +++++ .github/workflows/tagpr.yml | 26 ++++++++++++++++++++++++++ .tagpr | 4 ++++ 3 files changed, 35 insertions(+) create mode 100644 .github/release.yml create mode 100644 .github/workflows/tagpr.yml create mode 100644 .tagpr diff --git a/.github/release.yml b/.github/release.yml new file mode 100644 index 0000000..9355c21 --- /dev/null +++ b/.github/release.yml @@ -0,0 +1,5 @@ +# https://docs.github.com/ja/repositories/releasing-projects-on-github/automatically-generated-release-notes +changelog: + exclude: + labels: + - tagpr \ No newline at end of file diff --git a/.github/workflows/tagpr.yml b/.github/workflows/tagpr.yml new file mode 100644 index 0000000..9adb7d1 --- /dev/null +++ b/.github/workflows/tagpr.yml @@ -0,0 +1,26 @@ +name: Tagpr + +on: + push: + branches: + - main + +permissions: + contents: write + pull-requests: write + +jobs: + tagpr: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + with: + fetch-depth: 0 + token: ${{ secrets.GITHUB_TOKEN }} + + - id: run-tagpr + name: Run tagpr + uses: Songmu/tagpr@v1.19.0 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file diff --git a/.tagpr b/.tagpr new file mode 100644 index 0000000..a42a6c1 --- /dev/null +++ b/.tagpr @@ -0,0 +1,4 @@ +[tagpr] + vPrefix = true + releaseBranch = main + release = draft \ No newline at end of file