-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
da27c57
commit b214db0
Showing
2 changed files
with
30 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
Release <%= Time.now.strftime('%Y-%m-%d %H:%M') %> | ||
> [!CAUTION] | ||
> **Create Merge Commit** is recommended to merge this PR. | ||
<% pull_requests.each do |pr| -%> | ||
- #<%= pr.number %> <%= pr.mention %> | ||
<% end -%> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
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 |