From d55970a6238d43cd8616142f560f0b50b33e8015 Mon Sep 17 00:00:00 2001 From: Kath Date: Sat, 27 Jul 2024 14:13:04 +0800 Subject: [PATCH] Update .github --- .github/ISSUE_TEMPLATE/Bug_report.md | 9 +++++++++ .github/labels.yml | 24 ++++++++++++++++++++++++ .github/workflows/ci-cd.yml | 2 +- 3 files changed, 34 insertions(+), 1 deletion(-) create mode 100644 .github/ISSUE_TEMPLATE/Bug_report.md create mode 100644 .github/labels.yml diff --git a/.github/ISSUE_TEMPLATE/Bug_report.md b/.github/ISSUE_TEMPLATE/Bug_report.md new file mode 100644 index 00000000..fcff3ccd --- /dev/null +++ b/.github/ISSUE_TEMPLATE/Bug_report.md @@ -0,0 +1,9 @@ +--- +name: Bug report +about: Report a bug +--- + +### Bug report + +- Part of code where error occurred +- What error occurred diff --git a/.github/labels.yml b/.github/labels.yml new file mode 100644 index 00000000..a9cb4866 --- /dev/null +++ b/.github/labels.yml @@ -0,0 +1,24 @@ +XS: + name: size/XS + lines: 0 + color: 3CBF00 +S: + name: size/S + lines: 10 + color: 5D9801 +M: + name: size/M + lines: 50 + color: 7F7203 +L: + name: size/L + lines: 200 + color: A14C05 +XL: + name: size/XL + lines: 1000 + color: C32607 +XXL: + name: size/XXL + lines: 5000 + color: E50009 \ No newline at end of file diff --git a/.github/workflows/ci-cd.yml b/.github/workflows/ci-cd.yml index feb164d4..1f99ff8b 100644 --- a/.github/workflows/ci-cd.yml +++ b/.github/workflows/ci-cd.yml @@ -6,7 +6,7 @@ on: branches: - master workflow_dispatch: - pull-request: + pull_request: env: NODE_VERSION: '20'