Skip to content
This repository was archived by the owner on May 20, 2024. It is now read-only.

Commit d860d32

Browse files
Infrastructure/#1 setup environment (#2)
* init * add dockerfile * add .env.mysql.example * config golangci-lint * add main.go * sort lines * Create extensions.json * config labels * Create issue and pr template * setup nfc_reader * add all usb device path * migrate DB * rename Label_sync.yml
1 parent d62dcc0 commit d860d32

28 files changed

+1012
-0
lines changed

.github/ISSUE_TEMPLATE/bug_report.md

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
---
2+
name: bug report
3+
about: bug report
4+
title: ''
5+
labels: 'bug'
6+
assignees: ''
7+
8+
---
9+
10+
## 概要
11+
12+
## 再現方法
13+
14+
## 期待する挙動
15+
16+
## 補足
17+
18+
## 補足・懸念点
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
---
2+
name: feature and enhancement template
3+
about: feature and enhancement template
4+
title: ''
5+
labels: 'feature','enhancement'
6+
assignees: ''
7+
8+
---
9+
10+
## 概要
11+
12+
## 目的
13+
14+
## タスク
15+
16+
## 補足・懸念点

.github/labels.json

+62
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
[
2+
{
3+
"name": "infrastructure",
4+
"color": "6f42c1",
5+
"description": "環境構築やCI/CDパイプラインの設定・問題",
6+
"delete": false
7+
},
8+
{
9+
"name": "bug",
10+
"color": "F05032",
11+
"description": "バグ",
12+
"delete": false
13+
},
14+
{
15+
"name": "security",
16+
"color": "F05032",
17+
"description": "セキュリティに関連する問題や脆弱性",
18+
"delete": false
19+
},
20+
{
21+
"name": "feature",
22+
"color": "0E4BDB",
23+
"description": "新しい機能",
24+
"delete": false
25+
},
26+
{
27+
"name": "enhancement",
28+
"color": "84b6eb",
29+
"description": "既存の機能の改善や拡張",
30+
"delete": false
31+
},
32+
{
33+
"name": "document",
34+
"color": "F4BFD0",
35+
"description": "ドキュメントの追加や修正",
36+
"delete": false
37+
},
38+
{
39+
"name": "refactor",
40+
"color": "AFD38D",
41+
"description": "リファクタリング",
42+
"delete": false
43+
},
44+
{
45+
"name": "duplicate",
46+
"color": "C8C8C8",
47+
"description": "他の既存のイシューやプルリクエストと内容が重複",
48+
"delete": false
49+
},
50+
{
51+
"name": "invalid",
52+
"color": "E4E669",
53+
"description": "イシューやプルリクエストが不適切または関連性がない",
54+
"delete": false
55+
},
56+
{
57+
"name": "wontfix",
58+
"color": "C8C8C8",
59+
"description": "現時点では修正の予定がない",
60+
"delete": false
61+
}
62+
]

.github/pull_request_template.md

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
<!-- あくまでもテンプレートですので、必要に応じて追加、削除を行ってください -->
2+
3+
## チケットURL
4+
<!-- 対応するIssueをリンクしてください -->
5+
6+
## やったこと
7+
8+
## やってないこと
9+
10+
## 動作要件・動作確認方法
11+
12+
## テスト
13+
14+
## 補足・懸念点

.github/workflows/Label_sync.yml

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Label Sync
2+
3+
on:
4+
push:
5+
branches: [main]
6+
paths:
7+
- .github/labels.json
8+
9+
jobs:
10+
label-sync:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v2
14+
- name: Setup Node.js
15+
uses: actions/setup-node@v2
16+
- name: Install dependencies
17+
run: yarn add -D @azu/github-label-setup
18+
- name: update label
19+
run: yarn github-label-setup --token ${{ secrets.PERSONAL_ACCESS_TOKEN_FOR_LABELS }} --labels .github/labels.json

0 commit comments

Comments
 (0)