-
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
Showing
7 changed files
with
260 additions
and
5 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,49 @@ | ||
--- | ||
name: 一般 issue(ベータ) | ||
description: 一般用途用の issue(ベータ)。 | ||
labels: [] | ||
body: | ||
- type: textarea | ||
id: deadline | ||
attributes: | ||
label: 期限 | ||
description: この issue はいつまでに完了すべきですか?また、それはなぜですか? | ||
placeholder: 例:yyyy-MM-dd | ||
- type: textarea | ||
id: requirements | ||
attributes: | ||
label: 開始要件 | ||
description: この issue の開始には何が必要ですか? | ||
placeholder: | | ||
以下の全 issues の解決。 | ||
- #1 | ||
- #2 | ||
- type: textarea | ||
id: tasks | ||
attributes: | ||
label: タスク | ||
description: この issue を構成するタスクは何ですか? | ||
placeholder: | | ||
- [ ] タスク A | ||
- [ ] タスク B | ||
- type: textarea | ||
id: goal | ||
attributes: | ||
label: 完了条件 | ||
description: この issue の完了条件は何ですか? | ||
placeholder: 全タスクの完了。 | ||
value: 全タスクの完了。 | ||
- type: textarea | ||
id: description | ||
attributes: | ||
label: 詳細 | ||
description: この issue についての詳細を入力してください。 | ||
- type: textarea | ||
id: references | ||
attributes: | ||
label: 参考 | ||
description: この issue についての参考情報を入力してください。 | ||
placeholder: | | ||
- [参考ページ A](https://example.com/) | ||
- #3 |
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,47 @@ | ||
--- | ||
name: 一般 issue | ||
about: 一般用途用の issue。 | ||
title: '' | ||
labels: '' | ||
assignees: '' | ||
|
||
--- | ||
|
||
## 期限 | ||
|
||
<!-- 例: yyyy-MM-dd --> | ||
|
||
## 開始要件 | ||
|
||
<!-- | ||
例: | ||
以下の全 issues の解決。 | ||
- #1 | ||
- #2 | ||
--> | ||
|
||
## タスク | ||
|
||
<!-- | ||
例: | ||
- [ ] タスク A | ||
- [ ] タスク B | ||
--> | ||
|
||
## 完了条件 | ||
|
||
全タスクの完了。 | ||
|
||
## 詳細 | ||
|
||
## 参考 | ||
|
||
<!-- | ||
例: | ||
- [参考ページ A](https://example.com/) | ||
- #3 | ||
--> |
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,33 @@ | ||
<!-- markdownlint-disable MD041 --> | ||
|
||
## Linked issues | ||
|
||
<!-- | ||
例: | ||
- Resolve #1 | ||
- Fix #2 | ||
--> | ||
|
||
## 期限 | ||
|
||
<!-- | ||
例: | ||
yyyy-MM-dd | ||
または、 | ||
linked issues 参照。 | ||
--> | ||
|
||
## 詳細 | ||
|
||
## 参考 | ||
|
||
<!-- | ||
例: | ||
- [参考ページ A](https://example.com/) | ||
- #3 | ||
--> |
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,16 @@ | ||
--- | ||
name: "Lint: PR title" | ||
"on": | ||
pull_request_target: | ||
types: | ||
- opened | ||
- edited | ||
- synchronize | ||
jobs: | ||
lint-pr-title: | ||
name: "Lint: PR title" | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: amannn/action-semantic-pull-request@v5 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.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,40 @@ | ||
--- | ||
name: reviewdog | ||
"on": pull_request | ||
jobs: | ||
reviewdog: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
submodules: recursive | ||
- uses: actions/setup-node@v3 | ||
with: | ||
node-version-file: .node-version | ||
cache: npm | ||
- name: markdownlint | ||
uses: reviewdog/action-markdownlint@v0 | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
reporter: github-pr-review | ||
markdownlint_flags: . .?*/**/*.{md,markdown} | ||
- name: textlint | ||
uses: tsuyoshicho/action-textlint@v3 | ||
with: | ||
textlint_flags: . .?*/** | ||
- name: yamllint | ||
uses: reviewdog/action-yamllint@v1 | ||
with: | ||
reporter: github-pr-review | ||
- name: ShellCheck | ||
uses: reviewdog/action-shellcheck@v1 | ||
with: | ||
reporter: github-pr-review | ||
pattern: | | ||
*.sh | ||
commit-msg | ||
pre-commit | ||
- name: actionlint | ||
uses: reviewdog/action-actionlint@v1 | ||
with: | ||
reporter: github-pr-review |
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,73 @@ | ||
--- | ||
name: Test | ||
"on": | ||
push: | ||
branches: main | ||
pull_request: | ||
jobs: | ||
lint: | ||
name: Lint | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
submodules: recursive | ||
- uses: actions/setup-node@v3 | ||
with: | ||
node-version-file: .node-version | ||
cache: npm | ||
- run: npm ci | ||
- name: "Lint: credentials" | ||
run: npx secretlint "**/*" | ||
- name: "Lint: npm" | ||
run: npm run lint | ||
- name: "Lint: Git commit message" | ||
# Dependabot によるコミットの場合、commitlint の実行をスキップする。 | ||
# 理由:Dependabot によるコミットメッセージ 1 行の長さが 100 文字を | ||
# 超えることがあるため。 | ||
if: github.actor != 'dependabot[bot]' | ||
uses: wagoid/commitlint-github-action@v5 | ||
with: | ||
configFile: .commitlintrc.yml | ||
- name: "Lint: YAML" | ||
uses: karancode/yamllint-github-action@v2.1.1 | ||
with: | ||
yamllint_strict: true | ||
- name: "Lint: shell script" | ||
uses: ludeeus/action-shellcheck@master | ||
with: | ||
ignore_paths: .husky/_ node_modules | ||
- name: "Lint: GitHub Actions workflow" | ||
# yamllint disable rule:line-length | ||
run: | | ||
bash <(curl https://raw.githubusercontent.com/rhysd/actionlint/main/scripts/download-actionlint.bash) | ||
./actionlint -color | ||
# yamllint enable rule:line-length | ||
shell: bash | ||
# yamllint disable rule:comments-indentation | ||
# 当リポジトリが npm プロジェクトであり、かつ、package.json に build または | ||
# test script がある場合、以下のジョブをアンコメントしてください。 | ||
# build: | ||
# name: Build | ||
# runs-on: ubuntu-latest | ||
# steps: | ||
# - uses: actions/checkout@v3 | ||
# - uses: actions/setup-node@v3 | ||
# with: | ||
# node-version-file: .node-version | ||
# cache: npm | ||
# - run: npm ci | ||
# - run: npm run build | ||
# test: | ||
# name: Test | ||
# runs-on: ubuntu-latest | ||
# steps: | ||
# - uses: actions/checkout@v3 | ||
# - uses: actions/setup-node@v3 | ||
# with: | ||
# node-version-file: .node-version | ||
# cache: npm | ||
# - run: npm ci | ||
# - run: npm test | ||
# yamllint enable rule:comments-indentation |
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