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