Skip to content

Merge pull request #2 from oqtopus-team/ci/add-ci #1

Merge pull request #2 from oqtopus-team/ci/add-ci

Merge pull request #2 from oqtopus-team/ci/add-ci #1

name: git-pr-release
on:
push:
branches:
- develop
jobs:
git-pr-release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0 # git-pr-release needs the git histories
- uses: ruby/setup-ruby@v1
with:
ruby-version: 3.3
- run: gem install --no-document git-pr-release
- run: git-pr-release --squashed
env:
GIT_PR_RELEASE_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GIT_PR_RELEASE_BRANCH_PRODUCTION: main
GIT_PR_RELEASE_BRANCH_STAGING: develop
GIT_PR_RELEASE_LABELS: release
GIT_PR_RELEASE_TEMPLATE: .github/git-pr-release.erb
TZ: Asia/Tokyo