From 9d6db14b8e5b07372a4607780d52ce85d1a0d92b Mon Sep 17 00:00:00 2001 From: Muryor <65432884+Muryor@users.noreply.github.com> Date: Mon, 28 Mar 2022 10:22:20 +0800 Subject: [PATCH] Update automerge.yml --- .github/workflows/automerge.yml | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/.github/workflows/automerge.yml b/.github/workflows/automerge.yml index ec19d76..9b330f0 100644 --- a/.github/workflows/automerge.yml +++ b/.github/workflows/automerge.yml @@ -1,5 +1,14 @@ name: automerge on: + # 手动触发事件 + workflow_dispatch: + inputs: + logLevel: + description: 'Log level' + required: true + default: 'warning' + tags: + description: 'Test scenario tags' pull_request: types: - labeled @@ -33,11 +42,11 @@ jobs: source: 'imgbot' target: 'main' - - name: autopublish - uses: actions/setup-node@v1 + - uses: actions/setup-node@v1 with: - node-version: "12.x" + node-version: "16.x" registry-url: https://registry.npmjs.org/ + - run: npm ci - run: npm version patch - run: npm publish env: