Skip to content

Commit

Permalink
Merge pull request #223 from ueckoken/git-pr-release
Browse files Browse the repository at this point in the history
リリースPRを自動で作成する
  • Loading branch information
Azuki-bar authored Nov 14, 2023
2 parents 4517954 + 99ebd44 commit 564f829
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/create-release-pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# https://songmu.jp/riji/entry/2022-08-05-git-pr-release.html
name: Create Release PR
on:
push:
branches:
- main

jobs:
publish:
runs-on: ubuntu-22.04
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.2
- 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: deployment
GIT_PR_RELEASE_BRANCH_STAGING: main
GIT_PR_RELEASE_LABELS: pr-release
TZ: Asia/Tokyo

0 comments on commit 564f829

Please sign in to comment.