This repository has been archived by the owner on Dec 21, 2024. It is now read-only.
-
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 #17 from tshion/develop
Merge 1.0
- Loading branch information
Showing
20 changed files
with
689 additions
and
60 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,20 @@ | ||
# http://editorconfig.org | ||
root = true | ||
|
||
[*] | ||
charset = utf-8 | ||
indent_size = 4 | ||
indent_style = space | ||
insert_final_newline = true | ||
trim_trailing_whitespace = true | ||
|
||
[*.json] | ||
insert_final_newline = false | ||
|
||
[*.md] | ||
max_line_length = off | ||
insert_final_newline = false | ||
trim_trailing_whitespace = false | ||
|
||
[*.{yaml,yml}] | ||
indent_size = 2 |
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,19 @@ | ||
## 概要 | ||
|
||
|
||
|
||
## 作業内容 | ||
### 完了条件 | ||
* TODO | ||
|
||
### 想定される範囲 | ||
* TODO | ||
|
||
### 対応しないこと | ||
* TODO | ||
|
||
|
||
|
||
## 備考 | ||
### 参考文献 | ||
* TODO |
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,27 @@ | ||
* [ ] 新規追加 | ||
* [ ] 既存改良 | ||
* [ ] 不具合修正 | ||
|
||
## 概要 | ||
|
||
|
||
|
||
## 変更点 | ||
### 追加 | ||
* TODO | ||
|
||
### 削除 | ||
* TODO | ||
|
||
### 修正 | ||
* TODO | ||
|
||
|
||
|
||
## 確認事項 | ||
* [ ] TODO | ||
|
||
|
||
|
||
## 備考 | ||
* TODO |
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,37 @@ | ||
name: Create merge pull request | ||
|
||
on: | ||
pull_request: | ||
types: | ||
- closed | ||
branches-ignore: | ||
- 'released' | ||
paths: | ||
- 'Build.xcconfig' | ||
workflow_dispatch: | ||
|
||
jobs: | ||
create-merge-pr: | ||
if: >- | ||
github.event_name == 'workflow_dispatch' || | ||
(github.event.pull_request.merged == true && startsWith(github.event.pull_request.title, 'アプリバージョン更新')) | ||
runs-on: ubuntu-latest | ||
permissions: | ||
pull-requests: write | ||
steps: | ||
# https://github.com/actions/checkout | ||
- uses: actions/checkout@v4 | ||
|
||
# https://github.com/ruby/setup-ruby | ||
- uses: ruby/setup-ruby@v1 | ||
|
||
- name: Pick version name | ||
id: app-version | ||
run: | | ||
echo "$(ruby scripts/pick-version-name.rb)" > TMP_LOG | ||
echo "message=Merge $(cat TMP_LOG)" >> "$GITHUB_OUTPUT" | ||
- name: Create pull request | ||
run: gh pr create --base released --title "${{ steps.app-version.outputs.message }}" --body "" | ||
env: | ||
GITHUB_TOKEN: ${{ github.token }} |
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 | ||
|
||
on: | ||
push: | ||
branches: | ||
- released | ||
workflow_dispatch: | ||
|
||
jobs: | ||
create-release: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: write | ||
steps: | ||
# https://github.com/actions/checkout | ||
- uses: actions/checkout@v4 | ||
|
||
# https://github.com/ruby/setup-ruby | ||
- uses: ruby/setup-ruby@v1 | ||
|
||
- name: Pick version name | ||
id: app-version | ||
run: | | ||
echo "$(ruby scripts/pick-version-name.rb)" > TMP_LOG | ||
echo "version-name=$(cat TMP_LOG)" >> "$GITHUB_OUTPUT" | ||
- name: Set git tag | ||
run: | | ||
echo "${{ steps.app-version.outputs.version-name }}" > TAG_NAME | ||
git tag "$(cat TAG_NAME)" | ||
git push origin "$(cat TAG_NAME)" | ||
- name: Create release | ||
run: gh release create "${{ steps.app-version.outputs.version-name }}" --generate-notes --title "${{ steps.app-version.outputs.version-name }}" | ||
env: | ||
GITHUB_TOKEN: ${{ github.token }} |
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,55 @@ | ||
name: Update app version | ||
|
||
on: | ||
workflow_dispatch: | ||
inputs: | ||
versionMajor: | ||
description: 'バージョン情報: major' | ||
required: true | ||
type: string | ||
versionMinor: | ||
description: 'バージョン情報: minor' | ||
required: true | ||
type: string | ||
versionPatch: | ||
description: 'バージョン情報: patch' | ||
required: true | ||
type: string | ||
|
||
jobs: | ||
update-app-version: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: write | ||
pull-requests: write | ||
steps: | ||
# https://github.com/actions/checkout | ||
- uses: actions/checkout@v4 | ||
|
||
# https://github.com/ruby/setup-ruby | ||
- uses: ruby/setup-ruby@v1 | ||
|
||
- name: Update app version | ||
id: app-version | ||
run: | | ||
ruby scripts/set-version.rb ${{ inputs.versionMajor }} ${{ inputs.versionMinor }} ${{ inputs.versionPatch }} | ||
echo "$(ruby scripts/pick-version-name.rb)" > TMP_LOG | ||
echo "branch-name=feature/update_$(cat TMP_LOG)" >> "$GITHUB_OUTPUT" | ||
echo "message=アプリバージョン更新: $(cat TMP_LOG)" >> "$GITHUB_OUTPUT" | ||
- name: Setup git settings | ||
run: | | ||
git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com" | ||
git config --local user.name "GitHub Actions" | ||
- name: Git push | ||
run: | | ||
git switch -c ${{ steps.app-version.outputs.branch-name }} | ||
git add Build.xcconfig | ||
git commit -m "${{ steps.app-version.outputs.message }}" | ||
git push --set-upstream origin ${{ steps.app-version.outputs.branch-name }} | ||
- name: Create pull request | ||
run: gh pr create --title "${{ steps.app-version.outputs.message }}" --body "" | ||
env: | ||
GITHUB_TOKEN: ${{ github.token }} |
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 @@ | ||
3.3.0 |
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,10 @@ | ||
{ | ||
"recommendations": [ | ||
"editorconfig.editorconfig", | ||
"github.vscode-github-actions", | ||
"github.vscode-pull-request-github", | ||
"jebbs.plantuml", | ||
"redhat.vscode-yaml", | ||
"shopify.ruby-lsp", | ||
] | ||
} |
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 @@ | ||
{ | ||
"githubPullRequests.ignoredPullRequestBranches": [ | ||
"develop" | ||
], | ||
"rubyLsp.rubyVersionManager": "rbenv", | ||
} |
Oops, something went wrong.