-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3 from KaitoMuraoka/release/v1.0
1.0
- Loading branch information
Showing
6 changed files
with
136 additions
and
4 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,59 @@ | ||
name-template: "v$RESOLVED_VERSION 🌈" | ||
tag-template: "v$RESOLVED_VERSION" | ||
|
||
categories: | ||
- title: "🚀 Features" | ||
labels: | ||
- "enhancement" | ||
- title: "🐛 Bug Fixes" | ||
labels: | ||
- "bug" | ||
- "emergency" | ||
- title: "🔧 Refactoring" | ||
label: "refactor" | ||
- title: "📖 Documentation" | ||
label: "documentation" | ||
- title: "✅ Tests" | ||
label: "test" | ||
|
||
change-template: "- $TITLE @$AUTHOR (#$NUMBER)" | ||
|
||
change-title-escapes: '\<*_&' # You can add # and @ to disable mentions, and add ` to disable code blocks. | ||
|
||
version-resolver: | ||
major: | ||
labels: | ||
- "major" | ||
minor: | ||
labels: | ||
- "minor" | ||
patch: | ||
labels: | ||
- "patch" | ||
default: patch | ||
|
||
template: | | ||
## Changes | ||
$CHANGES | ||
autolabeler: | ||
- label: enhancement | ||
branch: | ||
- "/^feat(ure)?[/-].+/" | ||
- label: bug | ||
branch: | ||
- "/^fix[/-].+/" | ||
- label: emergency | ||
branch: | ||
- "/^hotfix[/-].+/" | ||
- label: test | ||
branch: | ||
- "/^test[/-].+/" | ||
- label: refactor | ||
branch: | ||
- "/^refactor[/-].+/" | ||
- label: documentation | ||
branch: | ||
- "/^doc[/-].+/" | ||
exclude-labels: | ||
- release |
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,36 @@ | ||
name: Create Release Note | ||
|
||
on: | ||
pull_request: | ||
# PRが閉じたタイミングで実行 | ||
types: | ||
- closed | ||
# mainブランチのみを対象とする | ||
branches: | ||
- main | ||
|
||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
release: | ||
permissions: | ||
# write permission is required to create a github release | ||
contents: write | ||
# リリースノートを書くためwrite用のpermissionを付与 | ||
pull-requests: write | ||
if: github.event.pull_request.merged == true && startsWith(github.head_ref, 'release') | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Create Release Tag And Note | ||
env: | ||
# このトークンは自動生成されるのでsecretsを登録する必要ない | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
# PRのタイトルと内容をRelease内容に追加する | ||
RELEASE_TAG: ${{ github.event.pull_request.title }} | ||
uses: release-drafter/release-drafter@v5 | ||
with: | ||
tag: ${{ env.RELEASE_TAG }} | ||
name: v${{ env.RELEASE_TAG }} | ||
version: ${{ env.RELEASE_TAG }} | ||
publish: true |
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,22 @@ | ||
name: Label Release PRs | ||
# release/ブランチに release タグを付与します | ||
|
||
on: | ||
pull_request: | ||
types: | ||
- opened | ||
- synchronize | ||
branches: | ||
- main | ||
|
||
jobs: | ||
label_release_pr: | ||
if: startsWith(github.head_ref, 'release/') | ||
runs-on: ubuntu-latest | ||
permissions: write-all | ||
steps: | ||
- name: Add label to release PRs | ||
uses: actions-ecosystem/action-add-labels@v1 | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
labels: release |
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
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
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,9 @@ | ||
#!/bin/sh | ||
|
||
# ci_post_clone.sh | ||
# PasswordBox | ||
# | ||
# Created by 村岡海人 on 2024/07/08. | ||
# | ||
|
||
defaults write com.apple.dt.Xcode IDESkipPackagePluginFingerprintValidatation -bool YES |