From 8e77b19f89d05aeefeb5e1e5fcc3dea1bec8e8fa Mon Sep 17 00:00:00 2001 From: Zhou Zhenglong Date: Tue, 21 Jul 2026 16:32:30 +0800 Subject: [PATCH] Revert "fix: use PR_TOKEN for create-pull-request fork collab permission (#216)" This reverts commit 84e8d4ebf7d1add6800eb417a74d14516892620e. Revert "fix: replace fish9167/create-pull-request@v3 to resolve token permission error in autogen-code job (#215)" This reverts commit f2b9936033cdf54c5aa74de89a8e5c5d3afc0264. --- .github/workflows/native-bindings.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/native-bindings.yml b/.github/workflows/native-bindings.yml index 02db04c77b..a15b86f91d 100644 --- a/.github/workflows/native-bindings.yml +++ b/.github/workflows/native-bindings.yml @@ -11,9 +11,6 @@ jobs: matrix: node-version: [18.x] runs-on: ubuntu-latest - permissions: - contents: write - pull-requests: write steps: - uses: actions/checkout@v4 - name: Install CMake & Clang Tidy @@ -58,7 +55,7 @@ jobs: node ./cmake/scripts/engine-version.js - name: Create Pull Request - uses: peter-evans/create-pull-request@v6 + uses: fish9167/create-pull-request@v3 if: github.event_name == 'pull_request_target' && github.event.action == 'closed' && github.event.pull_request.merged == true with: title: '[ci skip][AUTO]: Automated PR to generate code'