From eade87cc4c9dfc5d0f188eefff74908db9ef4bcc Mon Sep 17 00:00:00 2001 From: Shadow Date: Tue, 10 Sep 2024 14:44:41 -0500 Subject: [PATCH] ci: run ci on pr target --- .github/workflows/ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 427b4533..2283b5f6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,9 +1,7 @@ name: CI -permissions: write-all - on: - pull_request: + pull_request_target: types: [opened, synchronize] jobs: @@ -51,6 +49,8 @@ jobs: name: Build and publish runs-on: ubuntu-latest needs: [build, biome, test] + permissions: + pull-requests: write steps: - name: Check out code uses: actions/checkout@v4