This repository has been archived by the owner on Jul 20, 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.
- Loading branch information
0 parents
commit c3ffddc
Showing
159 changed files
with
25,845 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,22 @@ | ||
# https://coderabbit.ai/docs/get-started/customize-coderabbit | ||
|
||
language: "ja" | ||
early_access: true | ||
reviews: | ||
request_changes_workflow: false | ||
high_level_summary: true | ||
poem: true | ||
review_status: true | ||
collapse_walkthrough: false | ||
path_filters: | ||
- "!**/.xml" | ||
path_instructions: | ||
- path: "**.ts" | ||
instructions: "Review the TypeScript code for conformity with the Google TypeScript style guide, highlighting any deviations." | ||
auto_review: | ||
enabled: true | ||
ignore_title_keywords: | ||
- ":construction:" | ||
drafts: false | ||
chat: | ||
auto_reply: 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,3 @@ | ||
* text=auto eol=lf | ||
*.{cmd,[cC][mM][dD]} text eol=crlf | ||
*.{bat,[bB][aA][tT]} text eol=crlf |
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,7 @@ | ||
# Team 名で指定。 すべてのファイルに web-application-template-maintainers チームの全員が権限を持つ | ||
* @albelium/web-application-template-maintainers | ||
|
||
# GitHub や Tools 関連は @tatsutakein がオーナとなる | ||
/.github/ @tatsutakein | ||
/scripts/ @tatsutakein | ||
/tools/ @tatsutakein |
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,42 @@ | ||
name: Bug Report | ||
description: バグレポートを提出する | ||
title: "[Bug]: " | ||
labels: [ "bug", "triage me" ] | ||
body: | ||
- type: markdown | ||
attributes: | ||
value: | | ||
この度はバグレポートにご協力いただき、ありがとうございます。 | ||
- type: checkboxes | ||
attributes: | ||
label: これに対する既存の課題はありますか? | ||
description: あなたが遭遇したバグについて、すでに課題が存在しないかどうか検索してください。 | ||
options: | ||
- label: 既存の問題を検索してみました | ||
required: true | ||
|
||
- type: checkboxes | ||
attributes: | ||
label: この問題についての StackOverflow の質問はありますか? | ||
description: あなたが遭遇したバグについて、すでに回答がある問題が存在する場合は [StackOverflow](https://stackoverflow.com/questions/tagged/android-jetpack) を検索してください。 | ||
options: | ||
- label: StackOverflow を検索してみました | ||
required: true | ||
|
||
- type: textarea | ||
id: what-happened | ||
attributes: | ||
label: 何があったんですか? | ||
description: また、どのようなことを期待していたのか、教えてください。 | ||
placeholder: あなたが見たものを教えてください | ||
value: "バグが起きた!?" | ||
validations: | ||
required: true | ||
|
||
- type: textarea | ||
id: logs | ||
attributes: | ||
label: 関連する Log の出力 | ||
description: 関連する Logcat の出力をコピーして貼り付けてください。これは自動的にコードにフォーマットされますので、バックティックは必要ありません。 | ||
render: shell |
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,42 @@ | ||
name: Feature request | ||
description: 機能要望を出す | ||
title: "[FR]: " | ||
labels: [ "enhancement", "triage me" ] | ||
body: | ||
- type: markdown | ||
attributes: | ||
value: | | ||
この度は機能要望にご協力いただき、ありがとうございます。 | ||
- type: checkboxes | ||
attributes: | ||
label: 既存の課題がありませんか? | ||
description: この機能要求に対してすでに課題が存在するかどうか、検索してください。 | ||
options: | ||
- label: 既存の課題を検索してみました | ||
required: true | ||
|
||
- type: textarea | ||
id: describe-problem | ||
attributes: | ||
label: 問題を説明する | ||
description: 機能要望は問題に関連するものですか?説明してください。 | ||
placeholder: いつも悔しい思いをするのは | ||
validations: | ||
required: true | ||
|
||
- type: textarea | ||
id: solution | ||
attributes: | ||
label: 解決策を説明する | ||
description: ご希望の解決策をご記入ください。起こしてほしいことを明確に、簡潔に説明してください。 | ||
validations: | ||
required: true | ||
|
||
- type: textarea | ||
id: context | ||
attributes: | ||
label: 追加コンテキスト | ||
description: 機能リクエストに関する他のコンテキストやスクリーンショットをここに追加してください。 | ||
validations: | ||
required: false |
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,53 @@ | ||
# To get started with Dependabot version updates, you'll need to specify which | ||
# package ecosystems to update and where the package manifests are located. | ||
# Please see the documentation for all configuration options: | ||
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates | ||
|
||
version: 2 | ||
updates: | ||
- package-ecosystem: 'npm' # See documentation for possible values | ||
directory: '/' # Location of package manifests | ||
schedule: | ||
interval: daily | ||
open-pull-requests-limit: 20 | ||
reviewers: | ||
- 'albelium/web-application-template-maintainers' | ||
labels: | ||
- 'dependencies' | ||
- 'ignore-for-release' | ||
groups: | ||
storybook: | ||
patterns: | ||
- "storybook" | ||
- "@storybook/*" | ||
next: | ||
patterns: | ||
- "next" | ||
eslint: | ||
patterns: | ||
- "eslint" | ||
- "eslint-*" | ||
typescript-eslint: | ||
patterns: | ||
- "@typescript-eslint/*" | ||
react: | ||
patterns: | ||
- "react" | ||
- "react-dom" | ||
- "@types/react" | ||
- "@types/react-dom" | ||
radix: | ||
patterns: | ||
- "@radix-ui/*" | ||
pandacss: | ||
patterns: | ||
- "@pandacss/*" | ||
|
||
- package-ecosystem: 'github-actions' | ||
directory: '/' | ||
schedule: | ||
interval: weekly | ||
reviewers: | ||
- 'albelium/web-application-template-maintainers' | ||
labels: | ||
- 'dependencies' |
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,49 @@ | ||
version: 1 | ||
|
||
labels: | ||
# Type labels | ||
- label: "@type/feature" | ||
title: '^(:sparkles:|:tada:|:art:).*' | ||
- label: "@type/improve" | ||
title: '^(:\+1:|:recycle:|:rocket:).*' | ||
- label: "@type/fix" | ||
title: '^:bug:.*' | ||
- label: "@type/docs" | ||
title: '^:books:.*' | ||
files: | ||
- "apps/docs/.+" | ||
- "docs/.+" | ||
- label: "@type/build" | ||
title: '^(:wrench:|:up:).*' | ||
files: | ||
- "**/package.json" | ||
- ".tool-versions" | ||
- "tools/.+" | ||
- label: "@type/ci" | ||
title: '^:green_heart:.*' | ||
files: | ||
- '\.github/.+' | ||
|
||
# Package labels | ||
- label: "@apps/frontend" | ||
files: | ||
- "apps/web/.+" | ||
- "apps/frontend/.+" | ||
- label: "@apps/backend" | ||
files: | ||
- "apps/backend/.+" | ||
- label: "@packages/eslint-config" | ||
files: | ||
- "packages/eslint-config-custom/.+" | ||
- label: "@packages/prettier-config" | ||
files: | ||
- "packages/prettier-config/.+" | ||
- label: "@packages/tsconfig" | ||
files: | ||
- "packages/tsconfig/.+" | ||
- label: "@packages/ui" | ||
files: | ||
- "packages/ui/.+" | ||
|
||
# Feature labels | ||
# TBD |
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,45 @@ | ||
## Issue | ||
|
||
- close #ISSUE_NUMBER 🦕 | ||
|
||
## 概要 | ||
|
||
<!-- 概要をここに記入してください。 --> | ||
|
||
## レビュー観点 | ||
|
||
<!-- レビュアに確認してほしい事柄を記載してください --> | ||
<!-- 特に、本 PR にてレビュー対象外の内容があれば合わせて記載してください --> | ||
|
||
<!-- | ||
(例) | ||
- warnings が出力されないこと | ||
- デザインだけ組み込んだので、仕様についてはレビュー対象外として欲しい | ||
- このコミット xxxxxxx ( commit hash ) を主にレビューして欲しい | ||
--> | ||
|
||
## レビューレベル | ||
|
||
- [ ] Lv0: まったく見ないで Approve する | ||
- [ ] Lv1: ぱっとみて違和感がないかチェックして Approve する | ||
- [ ] Lv2: 仕様レベルまで理解して、仕様通りに動くかある程度検証して Approve する | ||
- [ ] Lv3: 実際に環境で動作確認したうえで Approve する | ||
|
||
## レビュー優先度 | ||
|
||
- [ ] すぐに見てもらいたい ( hotfix など ) 🚀 | ||
- [ ] 今日中に見てもらいたい 🚗 | ||
- [ ] 今日〜明日中で見てもらいたい 🚶 | ||
- [ ] 数日以内で見てもらいたい 🐢 | ||
|
||
## 参考リンク | ||
|
||
<!-- 参考文献などがあればここに記入してください。 --> | ||
|
||
- | ||
|
||
## スクリーンショット | ||
|
||
| Before | After | | ||
| :------------------------: | :------------------------: | | ||
| <img src="" width="300" /> | <img src="" width="300" /> | |
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,13 @@ | ||
name: "Assign author to Pull request" | ||
|
||
on: | ||
pull_request: | ||
types: [ opened ] | ||
|
||
jobs: | ||
assignAuthor: | ||
name: Assign author to PR | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- name: Assign Author | ||
uses: technote-space/[email protected] |
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,58 @@ | ||
name: "Auto Format" | ||
|
||
on: | ||
workflow_dispatch: | ||
schedule: | ||
# 開発の動きがない時間を想定し、毎日午前 6 時に実施 | ||
- cron: '0 21 * * *' | ||
|
||
jobs: | ||
format: | ||
runs-on: ubuntu-22.04 | ||
|
||
permissions: | ||
contents: write | ||
pull-requests: write | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/[email protected] | ||
|
||
- name: Create GitHub App Token | ||
uses: actions/[email protected] | ||
id: app-token | ||
with: | ||
app-id: ${{ vars.BOT_APP_ID }} | ||
private-key: ${{ secrets.BOT_PRIVATE_KEY }} | ||
|
||
- name: Setup Node.js environment | ||
uses: actions/[email protected] | ||
with: | ||
node-version-file: 'package.json' | ||
|
||
- name: Setup pnpm | ||
uses: pnpm/[email protected] | ||
|
||
- name: Clean install using pnpm | ||
shell: bash | ||
run: pnpm install --no-frozen-lockfile | ||
|
||
- name: Run prettier | ||
shell: bash | ||
run: pnpm run format | ||
|
||
- name: Create pull request | ||
uses: peter-evans/[email protected] | ||
with: | ||
token: ${{ steps.app-token.outputs.token }} | ||
commit-message: ':recycle: Auto format' | ||
committer: GitHub <[email protected]> | ||
author: albelium-bot[bot] <154823176+albelium-bot[bot]@users.noreply.github.com> | ||
signoff: false | ||
title: ':recycle: Auto Format' | ||
body: 'This was automatically generated by the [${{ github.workflow }}](https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }})' | ||
labels: | | ||
ignore-for-release | ||
base: 'main' | ||
branch: 'workflow/auto-format' | ||
branch-suffix: 'short-commit-hash' |
Oops, something went wrong.