From d14b384a8ef4325fef15031e05fe2c3b43c7430a Mon Sep 17 00:00:00 2001 From: cenfun Date: Sat, 27 Jul 2024 11:18:47 +0800 Subject: [PATCH] add pull_request --- .github/workflows/test-pr.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/test-pr.yml b/.github/workflows/test-pr.yml index 02ff5f41..c6ead28d 100644 --- a/.github/workflows/test-pr.yml +++ b/.github/workflows/test-pr.yml @@ -2,6 +2,9 @@ name: Test PR on: + pull_request: + types: [opened, reopened, edited, review_requested] + # Allows you to run this workflow manually from the Actions tab workflow_dispatch: @@ -27,5 +30,6 @@ jobs: - run: npm run build - run: npm run test-pr env: + myToken: ${{ secrets.GITHUB_TOKEN }} FORCE_COLOR: true