From b3d5304b76348f7b5299139f2a6323850687738b Mon Sep 17 00:00:00 2001 From: Chen LangNing Date: Sat, 23 Sep 2023 02:41:00 +0000 Subject: [PATCH] =?UTF-8?q?[Bug]=20autolabel=20=E7=82=B8=E4=BA=86=20Fixes?= =?UTF-8?q?=20#448?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/AutoLabel.yml | 7 +- .gitignore | 6 +- 404.html | 520 +++++++++++++++++++++----------- Update/package.json | 6 +- 4 files changed, 349 insertions(+), 190 deletions(-) diff --git a/.github/workflows/AutoLabel.yml b/.github/workflows/AutoLabel.yml index 247f3664..090418bb 100644 --- a/.github/workflows/AutoLabel.yml +++ b/.github/workflows/AutoLabel.yml @@ -1,7 +1,7 @@ name: AutoLabel on: issue_comment: - types: + types: - created - edited jobs: @@ -10,4 +10,7 @@ jobs: runs-on: ubuntu-latest steps: - name: AutoLabel - run: node ./Update/AutoLabel.js + run: | + cd ./Update + npm install + node ./AutoLabel.js diff --git a/.gitignore b/.gitignore index 809c600b..9b5986ca 100644 --- a/.gitignore +++ b/.gitignore @@ -1,8 +1,6 @@ +**/node_modules +**/package-lock.json Server/Source/Secret.ts -Server/node_modules Server/.wrangler -Server/package-lock.json Server/bun.lockb Server-Old/ -Email/.wrangler -Email/node_modules diff --git a/404.html b/404.html index 59d174ba..3835c499 100644 --- a/404.html +++ b/404.html @@ -1,194 +1,349 @@ -
- - - + + + - - - + + + @@ -205,4 +360,3 @@

Page Not Found

- diff --git a/Update/package.json b/Update/package.json index 47200257..0daba6b4 100644 --- a/Update/package.json +++ b/Update/package.json @@ -1,3 +1,7 @@ { - "type": "module" + "type": "module", + "dependencies": { + "@actions/core": "^1.2.6", + "@actions/github": "^4.0.0" + } }