Ver Fonte

chore: manual fetch main branch

dragooncjw há 10 meses atrás
pai
commit
c38301707d
1 ficheiros alterados com 2 adições e 2 exclusões
  1. 2 2
      .github/workflows/ci.yml

+ 2 - 2
.github/workflows/ci.yml

@@ -2,8 +2,6 @@ name: CI
 on:
   push:
     branches: [ "main" ]
-  pull_request_target:
-    branches: [ "main" ]
   pull_request:
     branches: [ "main" ]
 jobs:
@@ -13,6 +11,8 @@ jobs:
       - uses: actions/checkout@v3
         with:
           fetch-depth: 1
+      - name: Fetch main branch
+        run: git fetch origin main --depth=1
       - name: Config Git User
         run: |
           git config --local user.name "dragooncjw"