Skip to content

Merge pull request #6 from gonta1026/feature/ci #3

Merge pull request #6 from gonta1026/feature/ci

Merge pull request #6 from gonta1026/feature/ci #3

name: Create Release Develop to Main Pull Request
on:
push:
branches: [develop]
jobs:
release-pull-request:
permissions:
pull-requests: write # git > setting > actions > general > 「Read and write permissions」の設定があれば不要
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
ruby-version: 3.1
- run: gem install --no-document git-pr-release
- run: git-pr-release
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-release-main.erb
TZ: Asia/Tokyo