From eb17467f4c7d2f6d6b7870d932563f7b69939b3e Mon Sep 17 00:00:00 2001 From: Kota Kakihara <56664912+kota-kakihara@users.noreply.github.com> Date: Sun, 3 Jul 2022 18:32:42 +0900 Subject: [PATCH] Initial commit --- .github/ISSUE_TEMPLATE/action_item.md | 26 +++++++++++ .github/ISSUE_TEMPLATE/bug_report.md | 37 +++++++++++++++ .github/PULL_REQUEST_TEMPLATE.md | 23 +++++++++ .github/labels.yml | 67 +++++++++++++++++++++++++++ .github/workflows/actionlint.yml | 17 +++++++ .github/workflows/labeler.yml | 25 ++++++++++ 6 files changed, 195 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE/action_item.md create mode 100644 .github/ISSUE_TEMPLATE/bug_report.md create mode 100644 .github/PULL_REQUEST_TEMPLATE.md create mode 100644 .github/labels.yml create mode 100644 .github/workflows/actionlint.yml create mode 100644 .github/workflows/labeler.yml diff --git a/.github/ISSUE_TEMPLATE/action_item.md b/.github/ISSUE_TEMPLATE/action_item.md new file mode 100644 index 0000000..5c06b8b --- /dev/null +++ b/.github/ISSUE_TEMPLATE/action_item.md @@ -0,0 +1,26 @@ +--- +name: Action Item +about: AI 管理用テンプレート +title: '' +labels: '' +assignees: '' + +--- + +## 概要 +ひとことで + +## 詳細 +詳しく + +## close条件 +どうなったらcloseできるか + +## 備考 +なにかあれば + +## 注意 +- 関連する Projects が存在する場合,それの紐付けを行うこと +- 可能ならば `priority` ラベルを付けること +- 可能ならば Assignees を設定すること +- close するときは結論を明記すること diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md new file mode 100644 index 0000000..7c03c96 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -0,0 +1,37 @@ +--- +name: Bug report +about: Create a report to help us improve +title: '' +labels: '' +assignees: '' + +--- + +## 概要 +ひとことで + +## 詳細 +### 詳細症状 +どういうバグか + +### 発生条件 +発生した環境,症状,パラメタなど + +### 追加資料 +あればリンクなどを貼る + +## 必要な作業 +- [ ] あれして +- [ ] これする + +## 影響範囲 +tool類が全部死ぬ... みたいな + +## 補足 +何かれば + +## 注意 +- 関連する Projects が存在する場合,それの紐付けを行うこと +- 可能ならば `priority` ラベルを付けること +- 可能ならば Assignees を設定すること +- close するときは結論を明記すること diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md new file mode 100644 index 0000000..82728e7 --- /dev/null +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -0,0 +1,23 @@ +## 概要 +ひとことで + +## Issue +- 関連する issue + +## 詳細 +詳しく + +## 検証結果 +test へのリンクや,検証結果へのリンク + +## 影響範囲 +XX系の動作がガラッと変わる,とか. + +## 補足 +何かあれば + +## 注意 +- 関連する Projects が存在する場合,それの紐付けを行うこと +- Assignees を設定すること +- 可能ならば Reviewers を設定すること +- 可能ならば `priority` ラベルを付けること diff --git a/.github/labels.yml b/.github/labels.yml new file mode 100644 index 0000000..c26cba7 --- /dev/null +++ b/.github/labels.yml @@ -0,0 +1,67 @@ +- name: "bug" + color: "d73a4a" + description: "Something isn't working" + +- name: "documentation" + color: "0075ca" + description: "Improvements or additions to documentation" + +- name: "duplicate" + color: "cfd8d7" + description: "This issue or pull request already exists" + +- name: "enhancement" + description: "New feature or request" + color: "a2eeef" + +- name: "good first issue" + description: "Good for newcomers" + color: "7057ff" + +- name: "help wanted" + description: "Extra attention is needed" + color: "008672" + +- name: "invalid" + description: "This doesn't seem right" + color: "e4e669" + +- name: "question" + description: "Further information is requested" + color: "d876e3" + +- name: "wontfix" + description: "This will not be worked on" + color: "ffffff" + +- name: "icebox" + description: "icebox or pending" + color: "c5def5" + +- name: "priority::high" + description: "priorityg high" + color: "d93f0b" + +- name: "priority::low" + description: "priority low" + color: "9dcce0" + +- name: "priority::medium" + description: "priority medium" + color: "fbca04" + +- name: "tools" + description: "" + color: "510f70" + +- name: "C2A" + description: "" + color: "2a9637" + +- name: "S2E" + description: "" + color: "eef789" + +- name: "WINGS" + description: "" + color: "1503bb" diff --git a/.github/workflows/actionlint.yml b/.github/workflows/actionlint.yml new file mode 100644 index 0000000..274d11e --- /dev/null +++ b/.github/workflows/actionlint.yml @@ -0,0 +1,17 @@ +name: reviewdog / actionlint + +on: + pull_request: + paths: + - '.github/workflows/**' + +jobs: + actionlint: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: reviewdog/action-actionlint@v1 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + reporter: github-pr-review + fail_on_error: true diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml new file mode 100644 index 0000000..e2f01a6 --- /dev/null +++ b/.github/workflows/labeler.yml @@ -0,0 +1,25 @@ +name: labeler + +on: + push: + branches: + - main + pull_request: + paths: + - .github/workflows/labeler.yml + - .github/labels.yml + +jobs: + labeler: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + + - name: Run Labeler + uses: crazy-max/ghaction-github-labeler@v3 + with: + github-token: ${{ secrets.GITHUB_TOKEN }} + yaml-file: .github/labels.yml + skip-delete: false + dry-run: ${{ github.ref != 'refs/heads/main' }}