diff --git a/.github/workflows/unit-test.yml b/.github/workflows/unit-test.yml index ec11e58..cfc44fb 100644 --- a/.github/workflows/unit-test.yml +++ b/.github/workflows/unit-test.yml @@ -3,7 +3,7 @@ name: unit test on: push: branches: [master, ci/**] - pull_request: + pull_request_target: branches: [master, ci/**] workflow_dispatch: # Keep this to allow for triggering manually @@ -23,6 +23,9 @@ jobs: runs-on: ${{ matrix.os }} + permissions: + contents: write + steps: - uses: actions/checkout@v3 - name: Use Node.js ${{ matrix.node-version }}