-
Notifications
You must be signed in to change notification settings - Fork 119
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 #66 from yui10/add-issue-template
Create issue templates for logo requests!
- Loading branch information
Showing
3 changed files
with
142 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,91 @@ | ||
name: リクエスト | ||
description: ロゴの追加依頼 | ||
title: "[Request] " | ||
labels: "request" | ||
assignees: | ||
- SAWARATSUKI | ||
body: | ||
- type: markdown | ||
attributes: | ||
value: | | ||
ロゴ追加に関する依頼がある場合は、以下の内容を**よく読んでからテンプレートに従って**Issueを作成してください。 | ||
- サービスのロゴの追加を希望する場合、許可が必要な場合があります。そのため許可が得られない場合は追加を見送ることがあります。 | ||
- リクエストしたサービスの公式からロゴ制作の許可を頂いている場合優先的にお作りいたします。 | ||
- ロゴの追加には時間がかかる場合があります。ご了承ください。 | ||
- type: checkboxes | ||
id: duplicate-check | ||
attributes: | ||
label: 重複チェック | ||
description: 他のIssueと内容が重複していないことを確認してください。 | ||
options: | ||
- label: 確認しました | ||
required: true | ||
|
||
- type: dropdown | ||
id: logo-category | ||
attributes: | ||
label: ロゴカテゴリ | ||
description: 追加を希望するロゴのカテゴリ (例:React→service, レスポンスコードなど→original, その他判断に迷う場合→unknown) | ||
options: | ||
- service | ||
- original | ||
- unknown | ||
validations: | ||
required: true | ||
|
||
- type: input | ||
id: logo-name | ||
attributes: | ||
label: ロゴの名称 | ||
description: 追加を希望するサービスの名称 | ||
placeholder: 例) GitHub , 404 NotFound | ||
validations: | ||
required: true | ||
|
||
- type: input | ||
id: logo-name-ja | ||
attributes: | ||
label: ロゴの名称(日本語) | ||
description: 追加を希望するサービスの日本語での読み方 | ||
placeholder: 例) ギットハブ , お探しのページが見つかりません | ||
validations: | ||
required: true | ||
|
||
- type: input | ||
id: service-url | ||
attributes: | ||
label: サービスのURL | ||
description: 追加を希望するサービスのURL | ||
placeholder: 例) https://github.com | ||
validations: | ||
required: false | ||
|
||
- type: dropdown | ||
id: permission | ||
attributes: | ||
label: 許可の有無 | ||
description: サービスの公式からロゴ制作の許可を得ましたか? | ||
options: | ||
- "Yes" | ||
- "No" | ||
validations: | ||
required: true | ||
|
||
- type: input | ||
id: contact | ||
attributes: | ||
label: 連絡先 | ||
description: 許可を得ている場合は、あなたの連絡先(SNSのURL等)を記載してください。 | ||
placeholder: 例) https://x.com/sawaratsuki1004 | ||
validations: | ||
required: false | ||
|
||
- type: textarea | ||
id: comment | ||
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,17 @@ | ||
policy: | ||
- template: ["request.yml"] | ||
section: | ||
- id: ["logo-category"] | ||
block-list: [] | ||
label: | ||
- name: "service" | ||
keys: ["service"] | ||
- name: "original" | ||
keys: ["original"] | ||
- name: "unknown" | ||
keys: ["None", "unknown"] | ||
- id: ["permission"] | ||
block-list: ["None", "No"] | ||
label: | ||
- name: "permitted" | ||
keys: ["Yes"] |
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,34 @@ | ||
name: Issue labeler | ||
on: | ||
issues: | ||
types: | ||
- opened | ||
|
||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
label_issues: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
issues: write | ||
|
||
strategy: | ||
matrix: | ||
template: [ request.yml ] | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Parse issue form | ||
uses: stefanbuck/github-issue-parser@v3 | ||
id: issue-parser | ||
with: | ||
template-path: .github/ISSUE_TEMPLATE/${{ matrix.template }} | ||
|
||
- name: Set labels based on severity field | ||
uses: redhat-plumbers-in-action/advanced-issue-labeler@v2 | ||
with: | ||
issue-form: ${{ steps.issue-parser.outputs.jsonString }} | ||
template: ${{ matrix.template }} | ||
token: ${{ secrets.GITHUB_TOKEN }} |