فهرست منبع

Run in pull_request mode with approval

Nuwan Goonasekera 1 ماه پیش
والد
کامیت
1b26cf7613
1فایلهای تغییر یافته به همراه1 افزوده شده و 3 حذف شده
  1. 1 3
      .github/workflows/integration.yaml

+ 1 - 3
.github/workflows/integration.yaml

@@ -5,7 +5,7 @@ on:
   push:
     branches:
     - main
-  pull_request_target:
+  pull_request:
     branches:
       - main
   workflow_dispatch: {}
@@ -22,8 +22,6 @@ jobs:
     steps:
       - name: Checkout code
         uses: actions/checkout@v4
-        with:
-          ref: ${{ github.event.pull_request.head.sha }}
 
       - name: Setup Python
         uses: actions/setup-python@v5