Skip to content

Merge pull request #27 from jcam1/feature/auto-gen-docs #7

Merge pull request #27 from jcam1/feature/auto-gen-docs

Merge pull request #27 from jcam1/feature/auto-gen-docs #7

name: create a release pr from `develop` to `main`
on:
push:
branches:
- develop
jobs:
create-release-pr:
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
ruby-version: 3.3
- name: Create a release PR
env:
GIT_PR_RELEASE_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GIT_PR_RELEASE_BRANCH_PRODUCTION: main
GIT_PR_RELEASE_BRANCH_STAGING: develop
GIT_PR_RELEASE_TEMPLATE: .github/.git-pr-release
GIT_PR_RELEASE_LABELS: release
TZ: Asia/Tokyo
run: |
gem install -N git-pr-release -v "2.2.0"
git-pr-release --no-fetch