diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index ef32dc1..be5150f 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -2,8 +2,8 @@ name: Run tests on: workflow_dispatch: - pull_request_target: - types: [assigned, opened, synchronize, reopened] + pull_request: + types: [opened, synchronize, reopened] jobs: build: @@ -15,8 +15,6 @@ jobs: node-version: [16.x] steps: - uses: actions/checkout@v2 - with: - ref: ${{ github.event.pull_request.head.sha }} - name: Use Node.js ${{ matrix.node-version }} uses: actions/setup-node@v1 with: